projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0261199
)
session: don't make buffer writable prematurely
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 26 Jul 2013 20:31:41 +0000
(22:31 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 26 Jul 2013 20:31:41 +0000
(22:31 +0200)
There is no reason to make the SR buffer writable at this point. This is better
delayed until needed.
gst/rtpmanager/rtpsession.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/rtpsession.c
b/gst/rtpmanager/rtpsession.c
index
5bd9bc3
..
1ab8185
100644
(file)
--- a/
gst/rtpmanager/rtpsession.c
+++ b/
gst/rtpmanager/rtpsession.c
@@
-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