gstreamer/gst-libs/gst/sdp
Matthew Waters 0dcab96d88 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()
2017-04-03 16:49:12 +10:00
..
gstmikey.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
gstmikey.h mikey: add new function gst_mikey_message_to_caps 2016-04-15 15:21:23 +02:00
gstsdp.h libs: Use foo/foo.h as single-include header consistently everywhere 2012-12-12 17:13:10 +00:00
gstsdpmessage.c sdp/media: caps_from_media() don't modify the input media 2017-04-03 16:49:12 +10:00
gstsdpmessage.h sdpmessage: new gst_sdp_media_parse_keymgmt/gst_sdp_media_parse_keymgmt 2016-04-15 15:28:47 +02:00
Makefile.am g-i: pass compiler env to g-ir-scanner 2016-05-24 00:44:21 +01:00
meson.build meson: Generate girs 2016-11-09 18:06:19 -03:00
sdp.h sdp: add gstmikey.h to sdp.h 2014-07-04 09:01:35 +01:00