• Pavel Koshevoy's avatar
    avcodec/ccaption_dec: Make real-time latency configurable · b51c2c48
    Pavel Koshevoy authored
    Un-hardcode the 200ms minimum latency between emitting subtitle events
    so that those that wish to receive a subtitle event for every screen
    change could do so.
    
    The problem with delaying realtime output by any amount is that it is
    unknown when the next byte pair that would trigger output will happen.
    It may be within 200ms, or it may be several seconds later -- that's
    not realtime at all.
    b51c2c48
ccaption_dec.c 30 KB