gst/typefind/gsttypefindfunctions.c: Increase the MPEG PS typefind lookup to fix typefinding on HD clips.

Original commit message from CVS:
2008-02-19  Julien Moutte  <julien@fluendo.com>

Patch by: Josep Torra Valles <josep@fluendo.com>

* gst/typefind/gsttypefindfunctions.c: Increase the MPEG PS
typefind lookup to fix typefinding on HD clips.
This commit is contained in:
Josep Torra Valles 2008-02-19 16:16:55 +00:00 committed by Julien Moutte
parent 943d4cdc35
commit 51528422ca
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2008-02-19 Julien Moutte <julien@fluendo.com>
Patch by: Josep Torra Valles <josep@fluendo.com>
* gst/typefind/gsttypefindfunctions.c: Increase the MPEG PS
typefind lookup to fix typefinding on HD clips.
2008-02-19 Tim-Philipp Müller <tim at centricular dot net>
* gst/playback/gstscreenshot.c:

View file

@ -1141,9 +1141,8 @@ static GstStaticCaps mpeg_sys_caps = GST_STATIC_CAPS ("video/mpeg, "
#define IS_MPEG_PES_HEADER(data) (IS_MPEG_HEADER (data) && \
IS_MPEG_PES_CODE (((guint8 *)(data))[3]))
#define MPEG2_MAX_PROBE_LENGTH (32 * 1024) /* 32kB should be 16 packs of the
* most common 2kB pack size, but HD
* streams might be bigger. */
#define MPEG2_MAX_PROBE_LENGTH (128 * 1024) /* 128kB should be 64 packs of the
* most common 2kB pack size. */
#define MPEG2_MIN_SYS_HEADERS 2
#define MPEG2_MAX_SYS_HEADERS 5