gst/typefind/gsttypefindfunctions.c: DV typefinding. Remove check for a bit that...
authorDavid Schleef <ds@schleef.org>
Sat, 16 Aug 2008 20:57:27 +0000 (20:57 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 16 Aug 2008 20:57:27 +0000 (20:57 +0000)
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.

ChangeLog
gst/typefind/gsttypefindfunctions.c

index 36ba112..cf8d48a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index e903a56..8c05db1 100644 (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) {