gst/typefind/gsttypefindfunctions.c: fix typefinding on some ISO files. Fixes #339212.
authorTim-Philipp Müller <tim@centricular.net>
Sat, 22 Apr 2006 21:25:41 +0000 (21:25 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sat, 22 Apr 2006 21:25:41 +0000 (21:25 +0000)
Original commit message from CVS:

Patch by: Tim-Philipp Müller  <tim at centricular dot net>

* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
fix typefinding on some ISO files.  Fixes #339212.

ChangeLog
gst/typefind/gsttypefindfunctions.c

index 659512c..741773f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,13 @@
 
        Patch by: Tim-Philipp Müller  <tim at centricular dot net>
 
+       * gst/typefind/gsttypefindfunctions.c: (qt_type_find):
+         fix typefinding on some ISO files.  Fixes #339212.
+
+2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       Patch by: Tim-Philipp Müller  <tim at centricular dot net>
+
        * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
          add another H264 fourcc.  Fixes #339047.
 
index eec4c49..c2f2e8a 100644 (file)
@@ -1453,6 +1453,7 @@ qt_type_find (GstTypeFind * tf, gpointer unused)
         STRNCMP (&data[4], "mdat", 4) == 0 ||
         STRNCMP (&data[4], "ftyp", 4) == 0 ||
         STRNCMP (&data[4], "free", 4) == 0 ||
+        STRNCMP (&data[4], "uuid", 4) == 0 ||
         STRNCMP (&data[4], "skip", 4) == 0) {
       if (tip == 0) {
         tip = GST_TYPE_FIND_LIKELY;