mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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:
parent
12bccedb68
commit
7cce52603e
2 changed files with 7 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue