summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-02-19 02:55:21 +0000
committerDavid Schleef <ds@schleef.org>2004-02-19 02:55:21 +0000
commitbb3eed46a060a687d99fb96df0aa6dd4aa263d0e (patch)
treebcefb27755e59ab62109b29021deac767bf35caa
parent275aac5a50d15558b960aedbfb7abf33274a18aa (diff)
downloadgstreamer-plugins-base-bb3eed46a060a687d99fb96df0aa6dd4aa263d0e.tar.gz
ext/gdk_pixbuf/gstgdkpixbuf.c: Disable gdk_pixbuf typefinding, since it seems to be worse than nothing.
Original commit message from CVS: * ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init): Disable gdk_pixbuf typefinding, since it seems to be worse than nothing. * gst/typefind/gsttypefindfunctions.c: (qt_type_find): Add ftyp atom to recognize .mp4 and .m4a files as video/quicktime.
-rw-r--r--ChangeLog7
-rw-r--r--gst/typefind/gsttypefindfunctions.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a890beb19..6fc3959b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2004-02-18 David Schleef <ds@schleef.org>
+ * ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init): Disable gdk_pixbuf
+ typefinding, since it seems to be worse than nothing.
+ * gst/typefind/gsttypefindfunctions.c: (qt_type_find): Add ftyp
+ atom to recognize .mp4 and .m4a files as video/quicktime.
+
+2004-02-18 David Schleef <ds@schleef.org>
+
* gst/sine/demo-dparams.c: (quit_live),
(dynparm_log_value_changed), (dynparm_value_changed), (main):
Use double dparams, not float.
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index 5bcd3547e..5cf281d38 100644
--- a/gst/typefind/gsttypefindfunctions.c
+++ b/gst/typefind/gsttypefindfunctions.c
@@ -710,6 +710,7 @@ qt_type_find (GstTypeFind *tf, gpointer unused)
strncmp (&data[4], "mdat", 4) != 0 &&
strncmp (&data[4], "pnot", 4) != 0 &&
strncmp (&data[4], "PICT", 4) != 0 &&
+ strncmp (&data[4], "ftyp", 4) != 0 &&
strncmp (&data[4], "free", 4) != 0) {
tip = 0;
break;