[gst-devel] [patch] fix typefind for m4a's

James Morrison ja2morri at csclub.uwaterloo.ca
Sun Oct 24 03:06:10 CEST 2004


 Hi,

  This patch fixes gsttypefind for m4a's.  The fix allows rhythmbox to play
m4a's.

Jim

Index: gsttypefindfunctions.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins/gst/typefind/gsttypefindfunctions.c,v
retrieving revision 1.51
diff -u -p -r1.51 gsttypefindfunctions.c
--- gsttypefindfunctions.c	7 Oct 2004 09:56:43 -0000	1.51
+++ gsttypefindfunctions.c	23 Oct 2004 19:03:21 -0000
@@ -878,7 +878,7 @@ m4a_type_find (GstTypeFind * tf, gpointe
   guint8 *data = gst_type_find_peek (tf, 4, 8);
 
   if (data && memcmp (data, "ftypM4A ", 8) == 0) {
-    gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, AAC_CAPS);
+    gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, M4A_CAPS);
   }
 }
 




More information about the gstreamer-devel mailing list