mpegtsmux: Remove duplicate code

The muxer is already allocated in reset(), which is called soon afterwards.

https://bugzilla.gnome.org/show_bug.cgi?id=745506
This commit is contained in:
Ilya Averyanov 2015-03-02 01:08:15 +03:00 committed by Sebastian Dröge
parent cdb06c6c99
commit 2eac423273

View file

@ -312,9 +312,6 @@ mpegtsmux_init (MpegTsMux * mux)
gst_collect_pads_set_clip_function (mux->collect, (GstCollectPadsClipFunction)
GST_DEBUG_FUNCPTR (mpegtsmux_clip_inc_running_time), mux);
mux->tsmux = tsmux_new ();
tsmux_set_write_func (mux->tsmux, new_packet_cb, mux);
mux->adapter = gst_adapter_new ();
mux->out_adapter = gst_adapter_new ();