[gst-cvs] gst-plugins-base: typefind: Detect avc1 ftyp as video/quicktime
Thiago Sousa Santos
thiagoss at kemper.freedesktop.org
Sun Aug 1 03:28:09 PDT 2010
Module: gst-plugins-base
Branch: master
Commit: d123ab7bb194b4701fafeb7599fa38148c9732c1
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=d123ab7bb194b4701fafeb7599fa38148c9732c1
Author: Thiago Santos <thiago.sousa.santos at collabora.co.uk>
Date: Sun Aug 1 06:50:13 2010 -0300
typefind: Detect avc1 ftyp as video/quicktime
Detects avc1 ftyp as video/quicktime (iso variant)
---
gst/typefind/gsttypefindfunctions.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index bc88fab..040ad31 100644
--- a/gst/typefind/gsttypefindfunctions.c
+++ b/gst/typefind/gsttypefindfunctions.c
@@ -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";
More information about the Gstreamer-commits
mailing list