mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
rtpcbuffer: To write inside a RTCP buffer, you must be able to read
So always require read
This commit is contained in:
parent
6b559a50fb
commit
b993b8457d
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ gst_rtcp_buffer_map (GstBuffer * buffer, GstMapFlags flags,
|
|||
g_return_val_if_fail (rtcp != NULL, FALSE);
|
||||
g_return_val_if_fail (rtcp->buffer == NULL, FALSE);
|
||||
g_return_val_if_fail (GST_IS_BUFFER (buffer), FALSE);
|
||||
g_return_val_if_fail (flags & GST_MAP_READ, FALSE);
|
||||
|
||||
rtcp->buffer = buffer;
|
||||
gst_buffer_map (buffer, &rtcp->map, flags);
|
||||
|
|
Loading…
Reference in a new issue