fixes: #514889
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 12 Feb 2008 23:38:19 +0000 (23:38 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Tue, 12 Feb 2008 23:38:19 +0000 (23:38 +0000)
commit4a7cbe84897d94309c860140d70940a9632d969b
treefecb57e4a8ab5d48d7a2be27306da169fd9df452
parent4bb12df00792f09185b7e12704f045ee4ee653f9
fixes: #514889

Original commit message from CVS:
patch by:  Wim Taymans  <wim.taymans@collabora.co.uk>
fixes: #514889
* gst/rtp/gstrtph264pay.c:
* gst/rtp/gstrtpmp4gdepay.c:
* gst/rtp/gstrtpmp4gpay.c:
* gst/rtp/gstrtpmp4gpay.h:
* gst/rtp/gstrtptheorapay.c:
* gst/rtp/gstrtpvorbispay.c:
Fix various leaks shown up in valgrind
- free sprops and buffer in error cases in H264 payloader
- fix leak in mp4g depayloader when construction the caps
- don't leak config string in the mp4g payloader
- don't leak buffers and headers in theora and vorbis payloaders
* tests/check/elements/rtp-payloading.c:
Fix the RTP data test
- Actually send valid amr data to the payloader instead of 20
zero-bytes
- The mp4g payloader expects codec_data on the caps
ChangeLog
gst/rtp/gstrtph264pay.c
gst/rtp/gstrtpmp4gdepay.c
gst/rtp/gstrtpmp4gpay.c
gst/rtp/gstrtpmp4gpay.h
gst/rtp/gstrtptheorapay.c
gst/rtp/gstrtpvorbispay.c
tests/check/elements/rtp-payloading.c