[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    [gst-devel] [patch] fix typefind for m4a's
From:       ja2morri () csclub ! uwaterloo ! ca (James Morrison)
Date:       2004-10-23 19:05:55
Message-ID: 20041023190555.932DEA861C () perpugilliam ! csclub ! uwaterloo ! ca
[Download RAW message or body]


 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);
   }
 }
 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic