summaryrefslogtreecommitdiff
path: root/gst/mpegtsmux/mpegtsmux.c
diff options
context:
space:
mode:
authorIlya Averyanov <i.averyanov@geoscan.aero>2015-03-02 01:08:15 +0300
committerSebastian Dröge <sebastian@centricular.com>2015-03-04 11:07:41 +0100
commit2eac4232732912cff7ae6427b72c6b360c330daa (patch)
treecf1da1cdfc55b8544eae41f7a0e6b023dc7bf8d0 /gst/mpegtsmux/mpegtsmux.c
parentcdb06c6c99b42a25559b4c85420d683490bd991b (diff)
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
Diffstat (limited to 'gst/mpegtsmux/mpegtsmux.c')
-rw-r--r--gst/mpegtsmux/mpegtsmux.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
index 37ef6a55ad..5322297959 100644
--- a/gst/mpegtsmux/mpegtsmux.c
+++ b/gst/mpegtsmux/mpegtsmux.c
@@ -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 ();