diff options
author | Ilya Averyanov <i.averyanov@geoscan.aero> | 2015-03-02 01:08:15 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-03-04 11:07:41 +0100 |
commit | 2eac4232732912cff7ae6427b72c6b360c330daa (patch) | |
tree | cf1da1cdfc55b8544eae41f7a0e6b023dc7bf8d0 /gst/mpegtsmux/mpegtsmux.c | |
parent | cdb06c6c99b42a25559b4c85420d683490bd991b (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.c | 3 |
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 (); |