typefind: isml is iso-fragmented video/quicktime
authorThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 6 Nov 2012 18:21:16 +0000 (15:21 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 7 Nov 2012 04:40:18 +0000 (01:40 -0300)
Add isml typefinding to the video/quicktime function

gst/typefind/gsttypefindfunctions.c

index df04901..3b98b1c 100644 (file)
@@ -2796,6 +2796,12 @@ qt_type_find (GstTypeFind * tf, gpointer unused)
       break;
     }
 
+    if (STRNCMP (&data[4], "ftypisml", 8) == 0) {
+      tip = GST_TYPE_FIND_MAXIMUM;
+      variant = "iso-fragmented";
+      break;
+    }
+
     /* box/atom types that are in common with ISO base media file format */
     if (STRNCMP (&data[4], "moov", 4) == 0 ||
         STRNCMP (&data[4], "mdat", 4) == 0 ||