typefind: Detect avc1 ftyp as video/quicktime
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Sun, 1 Aug 2010 09:50:13 +0000 (06:50 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Sun, 1 Aug 2010 09:53:28 +0000 (06:53 -0300)
Detects avc1 ftyp as video/quicktime (iso variant)

gst/typefind/gsttypefindfunctions.c

index bc88fab..040ad31 100644 (file)
@@ -2478,6 +2478,7 @@ qt_type_find (GstTypeFind * tf, gpointer unused)
     }
 
     if (STRNCMP (&data[4], "ftypisom", 8) == 0 ||
+        STRNCMP (&data[4], "ftypavc1", 8) == 0 ||
         STRNCMP (&data[4], "ftypmp42", 8) == 0) {
       tip = GST_TYPE_FIND_MAXIMUM;
       variant = "iso";