GNOME Bugzilla – Bug 549551
conversion of gst structure names to mime types in multipart muxer
Last modified: 2008-08-28 10:09:46 UTC
gst structure name audio/x-adpcm is used to represent for example both G.726 24 kbit/s and G.726 32 kbit/s and you can not convert the gst structure name to the corresponding mime type because it is the same: audio/x-adpcm -> audio/G726-16 audio/x-adpcm -> audio/G726-24 audio/x-adpcm -> audio/G726-32 audio/x-adpcm -> audio/G726-40 We need a way to distinguish the mime-types using the bitrate information.
Created attachment 117504 [details] [review] patch suggestion
I added the right bitrates in the demuxer too. Patch by: Mersad Jelacic <mersad at axis dot com> * gst/multipart/multipartdemux.c: * gst/multipart/multipartmux.c: (gst_multipart_mux_get_mime): Convert audio/x-adpcm to and from the audio/G726-X in the muxer and demuxer. Fixes #549551.