[FFmpeg-devel] [PATCH] asf muxer: gracefully handle negative timestamps

Michael Niedermayer michaelni
Thu Mar 11 21:36:41 CET 2010


On Thu, Mar 11, 2010 at 06:59:34PM +0100, Vladimir Pantelic wrote:
> Michael Niedermayer wrote:
>
>> muxers are not supposed to store random values
>>
>> id suggest
>> 1. add a flag to muxers specifying the capability of negative dts support
>> 2. check for that flag in common code (utils.c) and offset all timestamps
>>     so as to avoid neagative dts if not set
>
> something like the attached?

no that will make timestamps non monotone

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

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- 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/20100311/25e1df5b/attachment.pgp>



More information about the ffmpeg-devel mailing list