mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
Revert "oggmux,adder: Check if collectpads has been freed"
This reverts commit 6d150873e8
.
Depends on a core commit that was reverted.
This commit is contained in:
parent
6d150873e8
commit
3fe2777b54
2 changed files with 2 additions and 6 deletions
|
@ -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_element_remove_pad (element, pad);
|
||||
|
||||
gst_object_unref (ogg_mux);
|
||||
|
|
|
@ -991,9 +991,7 @@ gst_adder_release_pad (GstElement * element, GstPad * pad)
|
|||
|
||||
GST_DEBUG_OBJECT (adder, "release pad %s:%s", GST_DEBUG_PAD_NAME (pad));
|
||||
|
||||
if (adder->collect) {
|
||||
gst_collect_pads_remove_pad (adder->collect, pad);
|
||||
}
|
||||
gst_element_remove_pad (element, pad);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue