From a4cfe8c43c75b65aa6d83e59c9b551ba5bd1e17a Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 6 Nov 2012 15:21:16 -0300 Subject: [PATCH] typefind: isml is iso-fragmented video/quicktime Add isml typefinding to the video/quicktime function --- gst/typefind/gsttypefindfunctions.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index df04901..3b98b1c 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 || -- 2.7.4