mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
[MOVED FROM GST-P-FARSIGHT] Make buffer writable before writing into it
20070712195336-3e2dc-91a5fb797cfa4919d4e2f9a728c6d6fbd3b83d93.gz
This commit is contained in:
parent
76fb00c0b1
commit
620b63a407
1 changed files with 3 additions and 1 deletions
|
@ -364,7 +364,9 @@ gst_rtp_mux_chain (GstPad * pad, GstBuffer * buffer)
|
|||
GstFlowReturn ret;
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue