[FFmpeg-devel] [PATCH] asf muxer: gracefully handle negative timestamps
Vladimir Pantelic
pan
Fri Mar 12 07:24:39 CET 2010
Michael Niedermayer wrote:
> 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
right, offset has to be applied always of course, v2 attached
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lavf_avfmt_positive_ts_v2.patch
Type: text/x-patch
Size: 2110 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100312/da79cf19/attachment.bin>
More information about the ffmpeg-devel
mailing list