[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),
	  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


More information about the Gstreamer-commits mailing list