Commit 0a884e56 authored by Edward Hervey's avatar Edward Hervey Committed by Tim-Philipp Müller
Browse files

Revert "Check that collectpads exists before removing pad"

This reverts commit 6d8740476ccd3a3498dc4f18c19733643825c7b8.

Depends on a core commit that was reverted
parent fe3a5c3f
......@@ -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 *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment