gst/typefind/gsttypefindfunctions.c: DV typefinding. Remove check for a bit that is 0 in IEC 61384, but not SMPTE 314M.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: DV typefinding.  Remove
check for a bit that is 0 in IEC 61384, but not SMPTE 314M.
Fixes #548065.
This commit is contained in:
David Schleef 2008-08-16 20:57:27 +00:00
parent 12bccedb68
commit 7cce52603e
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-08-16 David Schleef <ds@schleef.org>
* gst/typefind/gsttypefindfunctions.c: DV typefinding. Remove
check for a bit that is 0 in IEC 61384, but not SMPTE 314M.
Fixes #548065.
2008-08-15 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst-libs/gst/pbutils/missing-plugins.c: (copy_and_clean_caps):

View file

@ -2342,8 +2342,7 @@ dv_type_find (GstTypeFind * tf, gpointer private)
data = gst_type_find_peek (tf, 0, 5);
/* check for DIF and DV flag */
if (data && (data[0] == 0x1f) && (data[1] == 0x07) && (data[2] == 0x00) &&
((data[4] & 0x01) == 0)) {
if (data && (data[0] == 0x1f) && (data[1] == 0x07) && (data[2] == 0x00)) {
const gchar *format;
if (data[3] & 0x80) {