projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd13f7c
)
rtpmux: Make buffer writable before writing into it
author
Olivier Crete
<olivier.crete@collabora.co.uk>
Thu, 12 Jul 2007 19:53:36 +0000
(19:53 +0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sun, 16 Dec 2012 16:30:31 +0000
(16:30 +0000)
20070712195336
-3e2dc-
91a5fb797cfa4919d4e2f9a728c6d6fbd3b83d93
.gz
gst/rtpmanager/gstrtpmux.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/gstrtpmux.c
b/gst/rtpmanager/gstrtpmux.c
index
e83b165
..
0794de0
100644
(file)
--- a/
gst/rtpmanager/gstrtpmux.c
+++ b/
gst/rtpmanager/gstrtpmux.c
@@
-365,6
+365,8
@@
gst_rtp_mux_chain (GstPad * pad, GstBuffer * buffer)
rtp_mux = GST_RTP_MUX (gst_pad_get_parent (pad));
+ buffer = gst_buffer_make_writable(buffer);
+
rtp_mux->seqnum++;
GST_LOG_OBJECT (rtp_mux, "setting RTP seqnum %d", rtp_mux->seqnum);
gst_rtp_buffer_set_seq (buffer, rtp_mux->seqnum);