GNOME Bugzilla – Bug 527125
OMX AAC decoder should accept MPEG versions 2 and 4
Last modified: 2008-05-21 22:53:42 UTC
Currently AAC decoder sink caps are defined as follows: caps = gst_caps_new_simple ("audio/mpeg", "mpegversion", G_TYPE_INT, 4, "rate", GST_TYPE_INT_RANGE, 8000, 48000, "channels", GST_TYPE_INT_RANGE, 1, 8, NULL); It does not accept mpegversion == 2, even AAC format can be either MPEG version 2 or 4. Also, it might be good idea to define the templates as static GstStaticPadTemplate objects by using GST_STATIC_PAD_TEMPLATE macro instead of using generate_{src,sink}_template() functions.
Fixed in CVS.