[FFmpeg-devel] [PATCH] Decoding of raw UTF-8 text from Ogg streams

ogg.k.ogg.k at googlemail.com ogg.k.ogg.k
Tue Aug 4 01:13:34 CEST 2009

>> +    *start = start_ms - pts_ms;
>> +    *end   = end_ms - pts_ms;
> i would have expected
> *start = 0
> *end = end_ms - start_ms
> is your code causing things to be displayed at the correct times?

Logs on my test file show that it ends up being the same, as the packet's pts
is set to the same as the display date in the string. I suppose a muxer might
make a packet pts half a second before the display date, in which case *start
would not be zero.

More information about the ffmpeg-devel mailing list