[FFmpeg-devel] [PATCH 1/2] lavf: set codec time base after finding streams.

Michael Niedermayer michaelni at gmx.at
Sun Jan 6 16:03:08 CET 2013


On Fri, Dec 07, 2012 at 05:58:44PM +0100, Nicolas George wrote:
> For most formats, it is done before reading packets,
> but for formats without global headers, new streams
> are added afterwards.
> 
> Ensure that a time base is set even if no decoder was found.
> Useful for parsers.

this is problematic, because streams can be added still even after
this point.
IMHO for cases where this is needed, the demuxer should set it up
correctly, thats of course not the only way by which it could be done

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

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130106/cc1f60bc/attachment.asc>


More information about the ffmpeg-devel mailing list