mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
session: don't make buffer writable prematurely
There is no reason to make the SR buffer writable at this point. This is better delayed until needed.
This commit is contained in:
parent
0261199fc4
commit
02359f9219
1 changed files with 0 additions and 3 deletions
|
@ -2346,9 +2346,6 @@ rtp_session_process_rtcp (RTPSession * sess, GstBuffer * buffer,
|
|||
|
||||
/* notify caller of sr packets in the callback */
|
||||
if (do_sync && sess->callbacks.sync_rtcp) {
|
||||
/* make writable, we might want to change the buffer */
|
||||
buffer = gst_buffer_make_writable (buffer);
|
||||
|
||||
result = sess->callbacks.sync_rtcp (sess, buffer,
|
||||
sess->sync_rtcp_user_data);
|
||||
} else
|
||||
|
|
Loading…
Reference in a new issue