[FFmpeg-devel] [PATCH 9/9] dvd still frames as first frame caused lavf to return CODEC_ID_PROBE

Michael Niedermayer michaelni at gmx.at
Sat Sep 10 22:57:15 CEST 2011

On Sat, Sep 10, 2011 at 07:23:59PM +0200, Joakim Plate wrote:
> Generating a sample for this is a bit tricky. It should contain a singular
> mpeg2 video frame in one stream, followed by a end group of pictures code,
> but where an additional audio stream continues on.
> Without this change the singular video frame is not output

There is no code that sets CODEC_ID_PROBE anymore thus theres
no way this can be returned.
we use request_probe now. which allows the codec_id to be set to the
best guess available and still continue probing. The advanatge is when
you break out somewhere you simply have the best guess already in
codec_id while previously there would have been CODEC_ID_PROBE
there and alot of issues to change this on all possible ways that
could end probing, from EOF over errors to whatever

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- 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/20110910/5ee02086/attachment.asc>

More information about the ffmpeg-devel mailing list