[gst-cvs] tpm gst-plugins-base: gst-plugins-base/ gst-plugins-base/gst/typefind/
tpm at kemper.freedesktop.org
tpm at kemper.freedesktop.org
Wed Apr 30 13:55:11 PDT 2008
CVS Root: /cvs/gstreamer
Module: gst-plugins-base
Changes by: tpm
Date: Wed Apr 30 2008 20:55:11 UTC
Log message:
* gst/typefind/gsttypefindfunctions.c:
(mpeg_video_stream_ctx_ensure_data), (mpeg_video_stream_type_find),
(plugin_init):
Rework mpeg video stream typefinding a bit more: make sure sequence,
GOP, picture and slice headers appear in the order they should and
that we've in fact at least had one of each; fix picture header
detection; decouple picture and slice header check - don't assume
they're at a fixed offset, there may be extra data in between. Also,
announce varying degrees of probability depending on what we found
exactly (multiple pictures, at least one picture, just sequence and
GOP headers). Finally, in _ensure_data(), take into account that we
might be typefinding smaller amounts of data, such as the first
buffer of a stream, so fall back to the minimum size needed as long
as that's available, instead of erroring out if there's less than
2kB of data. Fixes #526173. Conveniently also doesn't recognise the
fuzzed file from #399342 as valid.
Modified files:
. : ChangeLog
gst/typefind : gsttypefindfunctions.c
Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.3887&r2=1.3888
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst/typefind/gsttypefindfunctions.c.diff?r1=1.154&r2=1.155
More information about the Gstreamer-commits
mailing list