gstreamer/tests/check/libs
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
..
.gitignore tests: ignore new videotimecode test binary 2016-08-20 11:01:04 +01:00
allocators.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:14:39 +02:00
audio.c tests: add another check for buffer clipping and improve tests 2016-10-15 22:52:32 +02:00
audiocdsrc.c Fix FSF address 2012-11-03 23:05:09 +00:00
audiodecoder.c tests: audiodecoder: fix another c99-ism 2017-01-09 19:10:10 +00:00
audioencoder.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
baseaudiovisualizer.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
discoverer.c tests: discoverer: handle missing ogg/codec plugins gracefully 2016-06-21 18:04:23 +01:00
fft.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:14:39 +02:00
gstlibscpp.cc videodirection: interface for rotation and flip 2016-08-25 10:19:13 +03:00
libsabi.c videodirection: interface for rotation and flip 2016-08-25 10:19:13 +03:00
mikey.c mikey: make message and payload mini-objects 2014-07-02 15:44:12 +02:00
navigation.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:14:39 +02:00
pbutils.c tests: pbutils: more checking of returned description strings 2015-02-27 14:30:01 +00:00
profile.c encoding-profile: add gst_encoding_profile_get_file_extension() 2012-12-23 15:26:59 +00:00
rtp.c test: fix indentation 2016-03-30 22:41:54 +01:00
rtpbasedepayload.c rtpbasedepayload: look at ssrc before sequence numbers 2016-04-03 11:49:16 +03:00
rtpbasepayload.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
rtsp.c rtsp: add boxed types for new authentication credential API 2016-12-13 22:45:02 +00:00
rtspconnection.c rtspconnection: Add support for parsing custom headers 2015-11-18 00:15:32 +00:00
sdp.c sdp/media: caps_from_media() don't modify the input media 2017-04-03 16:49:12 +10:00
struct_arm.h gst-libs: Remove interfaces libs and mixer/tuner interfaces 2012-04-13 13:14:13 +02:00
struct_i386.h tests: update libs ABI check GstRTSPTimeRange structure size on i386 2013-03-07 10:49:30 +00:00
struct_i386_osx.h gst-libs: Remove interfaces libs and mixer/tuner interfaces 2012-04-13 13:14:13 +02:00
struct_ppc32.h tests: fix expected GstRTSPTimeRange structure size for ABI test for ppc32 2014-10-24 13:04:07 +01:00
struct_ppc64.h tests: add PPC64 abi struct sizes 2015-06-22 16:00:15 +02:00
struct_x86_64.h check: update for larger struct 2012-11-20 11:13:01 +01:00
tag.c tests: tag: add unit test for ID3v2 UTF-16 string list parsing 2016-12-25 10:52:45 +00:00
video.c testsuite: Add some test checks for gst_video_guess_framerate() 2017-01-09 21:31:37 +11:00
videodecoder.c Fix indentation 2017-01-09 19:02:57 +00:00
videoencoder.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
videotimecode.c videotimecode: Validate for drop-frame correctness 2017-02-23 19:56:26 +02:00
xmpwriter.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:14:39 +02:00