On 11/16/2012 09:46 AM, Anton Khirnov wrote: > > On Fri, 2 Nov 2012 09:32:51 -0700, John Stebbins <[email protected]> > wrote: >> On 11/02/2012 08:20 AM, Diego Biurrun wrote: >>> On Sun, Oct 14, 2012 at 04:52:12PM +0200, John Stebbins wrote: >>>> pts should be that of the packet containing the presentation segment. >>>> --- >>>> libavcodec/pgssubdec.c | 9 +++++++-- >>>> 1 file changed, 7 insertions(+), 2 deletions(-) >>> ping, anybody? >>> >>> >> Patch updated to apply cleanly to head. >> > > The docs say pts is supposed to be in AV_TIME_BASE, while the packet pts is > presumable in the decoder timebase. > > Not sure if the other subs decoders follow this though... Are you familiar > with > them? >
None of the other subtitle decoders even set AVSubtitle->pts as far as I can see. There are probably multiple problems here. Given that AVPacket documentation says the input packet pts is in AVStream->time_base units, and AVStream is not available to the decoder, how is this time_base conversion suppose to be performed? -- John GnuPG fingerprint: D0EC B3DB C372 D1F1 0B01 83F0 49F1 D7B2 60D4 D0F7
signature.asc
Description: OpenPGP digital signature
_______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
