[FFmpeg-devel] [PATCH] lavf/utils: Only adjust pkt->pts by st->first_dts if presentation is not delayed
Tomas Härdin
tomas.hardin at codemill.se
Wed Mar 7 19:04:27 CET 2012
This is the result of half a day's worth of staring at
compute_pkt_fields().
The attached patch limits the scope of the first pts adjustment done by
update_initial_timestamps(). Only the WTV demuxer's behavior changed,
and that to the better; the FATE sample's first PTSes went from
-40000,40000,80000 to 0,40000,80000.
Passes make fate (after figuring out the lavfi tests need --enable-gpl)
/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-utils-Only-adjust-pkt-pts-by-st-first_dts-if-pr.patch
Type: text/x-patch
Size: 4087 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120307/70bbb0d8/attachment.bin>
More information about the ffmpeg-devel
mailing list