summaryrefslogtreecommitdiff
path: root/gst/qtmux/gstqtmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/qtmux/gstqtmux.c')
-rw-r--r--gst/qtmux/gstqtmux.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c
index 728e1f3c5..1477db7c8 100644
--- a/gst/qtmux/gstqtmux.c
+++ b/gst/qtmux/gstqtmux.c
@@ -503,7 +503,6 @@ gst_qt_mux_finalize (GObject * object)
atoms_context_free (qtmux->context);
gst_object_unref (qtmux->collect);
- qtmux->collect = NULL;
g_slist_free (qtmux->sinkpads);
@@ -3166,9 +3165,7 @@ gst_qt_mux_release_pad (GstElement * element, GstPad * pad)
}
}
- if (mux->collect) {
- gst_collect_pads_remove_pad (mux->collect, pad);
- }
+ gst_collect_pads_remove_pad (mux->collect, pad);
}
static GstPad *