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

Michael Niedermayer michaelni
Tue Aug 4 19:41:45 CEST 2009


On Tue, Aug 04, 2009 at 12:13:34AM +0100, ogg.k.ogg.k at googlemail.com wrote:
> >> +    *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.

please set start=0

thank you

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090804/1b2a91d1/attachment.pgp>



More information about the ffmpeg-devel mailing list