From 7cce52603ef493484942dbf85dd15c4aa0df4db3 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 16 Aug 2008 20:57:27 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ gst/typefind/gsttypefindfunctions.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 36ba112084..cf8d48a784 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-16 David Schleef + + * 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 * gst-libs/gst/pbutils/missing-plugins.c: (copy_and_clean_caps): diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index e903a565e9..8c05db186c 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -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) {