summaryrefslogtreecommitdiffstats
path: root/gst/rtpmux/gstrtpmux.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-04-20 18:41:39 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-04-20 20:24:17 -0400
commit9c014d00132f39e47cc817f410d96117d28cc389 (patch)
tree45294d47a8c6257172b4267a0ba5874a222f54a6 /gst/rtpmux/gstrtpmux.c
parentedd37171509d38be117ac1d693a07b232743c3e3 (diff)
downloadgst-plugins-bad-9c014d00132f39e47cc817f410d96117d28cc389.tar.gz
gst-plugins-bad-9c014d00132f39e47cc817f410d96117d28cc389.tar.bz2
gst-plugins-bad-9c014d00132f39e47cc817f410d96117d28cc389.zip
rtpmux: Remove useless caps mangling
Diffstat (limited to 'gst/rtpmux/gstrtpmux.c')
-rw-r--r--gst/rtpmux/gstrtpmux.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index ecfefae2..5957f96e 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -330,7 +330,6 @@ static GstFlowReturn
gst_rtp_mux_chain (GstPad * pad, GstBuffer * buffer)
{
GstRTPMux *rtp_mux;
- GstStructure *structure;
GstFlowReturn ret;
rtp_mux = GST_RTP_MUX (gst_pad_get_parent (pad));
@@ -347,10 +346,6 @@ gst_rtp_mux_chain (GstPad * pad, GstBuffer * buffer)
rtp_mux->seqnum++;
gst_rtp_buffer_set_seq (buffer, rtp_mux->seqnum);
GST_OBJECT_UNLOCK (rtp_mux);
- GST_BUFFER_CAPS (buffer) = gst_caps_make_writable (GST_BUFFER_CAPS (buffer));
- structure = gst_caps_get_structure (GST_BUFFER_CAPS (buffer), 0U);
- gst_structure_set (structure, "seqnum-base", G_TYPE_UINT,
- rtp_mux->seqnum_base, NULL);
gst_rtp_buffer_set_ssrc (buffer, rtp_mux->current_ssrc);
gst_rtp_mux_readjust_rtp_timestamp (rtp_mux, pad, buffer);
GST_LOG_OBJECT (rtp_mux, "Pushing packet size %d, seq=%d, ts=%u",