}
GST_OBJECT_UNLOCK (pad);
- if (mux->collect) {
- gst_collect_pads_remove_pad (mux->collect, pad);
- }
+ gst_collect_pads_remove_pad (mux->collect, pad);
}
static gboolean
atoms_context_free (qtmux->context);
gst_object_unref (qtmux->collect);
- qtmux->collect = NULL;
g_slist_free (qtmux->sinkpads);
}
}
- if (mux->collect) {
- gst_collect_pads_remove_pad (mux->collect, pad);
- }
+ gst_collect_pads_remove_pad (mux->collect, pad);
}
static GstPad *
GST_DEBUG_OBJECT (ssim, "release pad %s:%s", GST_DEBUG_PAD_NAME (pad));
- if (ssim->collect) {
- gst_collect_pads_remove_pad (ssim->collect, pad);
- }
+ gst_collect_pads_remove_pad (ssim->collect, pad);
gst_element_remove_pad (element, pad);
}