summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.com>2012-11-06 15:21:16 -0300
committerThiago Santos <thiago.sousa.santos@collabora.com>2012-11-06 15:22:10 -0300
commit5498eb8f3e49a44c6da7953b8d1bc57c3d9ca5b6 (patch)
treeb69270bc10be4c5ce678fc891676c26547b74d07
parentd263c3690d2cbc4d328dc4b9e81133608747ecb9 (diff)
downloadgstreamer-plugins-base-5498eb8f3e49a44c6da7953b8d1bc57c3d9ca5b6.tar.gz
typefind: isml is iso-fragmented video/quicktime
Add isml typefinding to the video/quicktime function
-rw-r--r--gst/typefind/gsttypefindfunctions.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index 2b6e4e42b..19ee389c9 100644
--- a/gst/typefind/gsttypefindfunctions.c
+++ b/gst/typefind/gsttypefindfunctions.c
@@ -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 ||