[FFmpeg-devel] [PATCH] Handle 0-size sync packets when only parsing headers.

Michael Niedermayer michaelni at gmx.at
Sun Mar 25 19:09:18 CEST 2012


On Sun, Mar 25, 2012 at 01:20:03PM +0200, Reimar Döffinger wrote:
> Currently, the duration of those packets is just discarded
> when enabling parsing, thus the output of the Metal Gear Solid
> demuxer breaks completely when just setting AVSTREAM_PARSE_HEADERS.
> The result will not be correct if a parser creates a delay even
> with PARSER_FLAG_COMPLETE_FRAMES and there might be other cases
> where it does not work correct, but just discarding them as it
> is done currently seems worse.
> 
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

LGTM

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

While the State exists there can be no freedom; when there is freedom there
will be no State. -- 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/20120325/b0cc0cbb/attachment.asc>


More information about the ffmpeg-devel mailing list