diff options
author | Matthew Waters <matthew@centricular.com> | 2017-04-03 16:41:49 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2017-04-03 16:49:12 +1000 |
commit | 0dcab96d88376e31459aaeb601cc04a45a3d8966 (patch) | |
tree | f2b3fbbc75ba1efe0bc3e38a81d7defdf0fa2fea /docs/plugins/inspect/plugin-tcp.xml | |
parent | 9d3622e1bdcf631187de38aa5ff9b8aa6a0605ba (diff) | |
download | gstreamer-plugins-base-0dcab96d88376e31459aaeb601cc04a45a3d8966.tar.gz |
sdp/media: caps_from_media() don't modify the input media
Performing a gst_sdp_media_get_caps_from_media() would result in
changing fields in the GstSDPMedia violating the const tag in the
function declaration.
Before there would be a line with a=rtpmap:96 VP8/90000
after, that attribute would only contain a=rtpmap:96
Fix by performing modifications on duplicated strings instead of on
the internal values.
Also add a simple test for checking that the representation doesn't
change by a gst_sdp_media_get_caps_from_media()
Diffstat (limited to 'docs/plugins/inspect/plugin-tcp.xml')
0 files changed, 0 insertions, 0 deletions