rtsp-message: Add support for storing GstBuffers directly as body payload of messages
authorSebastian Dröge <sebastian@centricular.com>
Fri, 17 Aug 2018 09:51:31 +0000 (12:51 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 29 Jan 2019 12:17:23 +0000 (14:17 +0200)
commitb3c0d8b89b49024bbed4e54cf39714c1e81d332d
tree203aa424e325429f7f50068223a8034620d84f4c
parent3a9148b334a1f0b4fde54339f089ad25636c6d59
rtsp-message: Add support for storing GstBuffers directly as body payload of messages

This makes it unnecessary for callers to first merge together all
memories, and it allows API like GstRTSPConnection to write them out
without first copying all memories together or using writev()-style API
to write multiple memories out in one go.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/370
docs/libs/gst-plugins-base-libs-sections.txt
gst-libs/gst/rtsp/gstrtspmessage.c
gst-libs/gst/rtsp/gstrtspmessage.h