rtpbuffer: Add map flag to skip padding
authorStian Selnes <stian@pexip.com>
Wed, 22 Jul 2015 09:31:05 +0000 (11:31 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 20 Oct 2015 09:07:43 +0000 (12:07 +0300)
commit1cebfc8839c28f972aaeee22aa15dc52193a5c39
treeee07fb508b82d7bd9aa7dc3bd2d00fa78190bd6a
parent7d11a78f06d76fb7d453cc62399514fbebc08f47
rtpbuffer: Add map flag to skip padding

Encrypted RTP buffers may contain encrypted padding, hence it's
necessary to have an option to relax the validation in order to
successfully map the buffer.

When the flag GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING is set
gst_rtp_buffer_map() will map the buffer like if padding is not
present.

https://bugzilla.gnome.org/show_bug.cgi?id=752705
gst-libs/gst/rtp/gstrtpbuffer.c
gst-libs/gst/rtp/gstrtpbuffer.h
tests/check/libs/rtp.c