[gstreamer-bugs] [Bug 308980] gst-typefind incorrectly identifies m4a files encoded with faac

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Fri Jun 24 23:50:35 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=308980
 GStreamer | gstreamer (core) | Ver: 0.8.9





------- Additional Comments From Chris Ouch  2005-06-25 06:50 -------
Figured it out.  Apparently the file type ID header file for faac encoded files
wrapped within the mp4 header is "ftypmp42".

Don't know if this is the correct way to edit it, but I added the following
patch.  (probably not in correct patch format)

--- gsttypefindfunctions.c	2005-06-25 00:37:04.825190208 -0500
+++ gsttypefindfunctions.c	2005-06-25 01:36:13.128766072 -0500
@@ -964,6 +964,9 @@
   if (data && memcmp (data, "ftypM4A ", 8) == 0) {
     gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, M4A_CAPS);
   }
+  if (data && memcmp (data, "ftypmp42", 8) == 0) {
+    gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, M4A_CAPS);
+  }
 }
 
 /*** application/x-3gp *********************************************/

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list