summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2011-02-21 12:04:09 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2011-02-21 12:04:09 +0100
commit3fe2777b546acd9bf510d5098b3a8b4a8f2430d5 (patch)
tree627b14e8446f475fa3d8ce83121f9e2e56fbb929 /ext
parent6d150873e8b4c23d694b0351570de323b1576d76 (diff)
Revert "oggmux,adder: Check if collectpads has been freed"
This reverts commit 6d150873e8b4c23d694b0351570de323b1576d76. Depends on a core commit that was reverted.
Diffstat (limited to 'ext')
-rw-r--r--ext/ogg/gstoggmux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c
index 35e444800..c6ed67c72 100644
--- a/ext/ogg/gstoggmux.c
+++ b/ext/ogg/gstoggmux.c
@@ -462,9 +462,7 @@ gst_ogg_mux_release_pad (GstElement * element, GstPad * pad)
ogg_mux = GST_OGG_MUX (gst_pad_get_parent (pad));
- if (ogg_mux->collect) {
- gst_collect_pads_remove_pad (ogg_mux->collect, pad);
- }
+ gst_collect_pads_remove_pad (ogg_mux->collect, pad);
gst_element_remove_pad (element, pad);
gst_object_unref (ogg_mux);