After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 549551 - conversion of gst structure names to mime types in multipart muxer
conversion of gst structure names to mime types in multipart muxer
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-27 09:16 UTC by mersad
Modified: 2008-08-28 10:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch suggestion (2.16 KB, patch)
2008-08-28 07:39 UTC, mersad
committed Details | Review

Description mersad 2008-08-27 09:16:19 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.
Comment 1 mersad 2008-08-28 07:39:19 UTC
Created attachment 117504 [details] [review]
patch suggestion
Comment 2 Wim Taymans 2008-08-28 10:09:46 UTC
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.