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

Vladimir Pantelic pan
Thu Mar 11 18:59:34 CET 2010


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lavf_avfmt_positive_ts.patch
Type: text/x-patch
Size: 2078 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100311/fd096311/attachment.bin>



More information about the ffmpeg-devel mailing list