GNOME Bugzilla – Bug 558427
rtpmpapay/depay are too wide
Last modified: 2009-01-23 08:43:28 UTC
The caps on rtpmpapay and rtpmpadepay are "audio/mpeg", from our IRC discussion, I guess they should be restricted to mpegversion=1. Even though RFC 3551, Section 4.5.13 says that it could be version 1 or 2.. In that case, we need some way to differentiate it from AAC.
That mpegversion, is it the version of mpeg 1 audio, i.e. the "MPEG Audio version id" from http://www.mp3-tech.org/programmer/frame_header.html ? In that case you can use the mpegaudioversion caps field but it will be added by lame/mp3parse only with latest releases.
* gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_setcaps): * gst/rtp/gstrtpmpapay.c: Narrow down the caps of the mpeg audio pay/depayloaders to only accept mpeg version 1. Fixes #558427.