rtsp-client: Drop trailing \0 of RTSP DATA messages
authorSebastian Dröge <sebastian@centricular.com>
Fri, 16 Jan 2015 19:04:01 +0000 (20:04 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 16 Jan 2015 19:06:57 +0000 (20:06 +0100)
commit586fe4ea4bbc97283cc1db263e0e9d21c61228e0
tree1e89fb69202f02905cdb976d061818a9711bd4ac
parent0d2de69db99670451bc7a39d921dc5636fd94cec
rtsp-client: Drop trailing \0 of RTSP DATA messages

We add a trailing \0 in GstRTSPConnection to make parsing of
string message bodies easier (e.g. the SDP from DESCRIBE) but
for actual data this means we have to drop it or otherwise
create invalid data.
gst/rtsp-server/rtsp-client.c