Add new RTSP message method to set header
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 29 Jan 2009 10:55:10 +0000 (11:55 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 29 Jan 2009 10:55:10 +0000 (11:55 +0100)
commit484a025f6df22131041e3c528f867854e06deace
tree63d551e2ef9cc0d1c4555ca2082a2226a8151595
parent9135370b42e181b8b295b03de71ac5b611d6d806
Add new RTSP message method to set header

Add gst_rtsp_message_take_header() that takes ownership of the passed header
value. This allows us to avoid an allocations and memory copy in some
situations.
API: GstRTSPMessage::gst_rtsp_message_take_header()
docs/libs/gst-plugins-base-libs-sections.txt
gst-libs/gst/rtsp/gstrtspconnection.c
gst-libs/gst/rtsp/gstrtspmessage.c
gst-libs/gst/rtsp/gstrtspmessage.h