summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-02-24 10:16:17 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-02-25 13:05:37 -0300
commit8133801e66c64d9df94c0717759563a4bcc1c9ac (patch)
tree6450f7ac0af63e61c5747a75b1014608482e4a35
parentc4f071546d50fc5d022db550d6c99d715c389ef5 (diff)
typefindfunctions: add moof as a valid atom to identify video/quicktime
It is common in fragmented files
-rw-r--r--gst/typefind/gsttypefindfunctions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index c6073c363..0583d72b8 100644
--- a/gst/typefind/gsttypefindfunctions.c
+++ b/gst/typefind/gsttypefindfunctions.c
@@ -3123,6 +3123,7 @@ qt_type_find (GstTypeFind * tf, gpointer unused)
/* 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 ||
+ STRNCMP (&data[4], "moof", 4) == 0 ||
STRNCMP (&data[4], "ftyp", 4) == 0 ||
STRNCMP (&data[4], "free", 4) == 0 ||
STRNCMP (&data[4], "uuid", 4) == 0 ||