From a6f03148673e4986cfd1da561791a9172f321093 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 27 Oct 2006 16:45:30 +0000 Subject: [PATCH] ext/ogg/gstoggmux.c: Remove the pad from the element in release_pad. Original commit message from CVS: Patch by: Mark Nauwelaerts * ext/ogg/gstoggmux.c: (gst_ogg_mux_release_pad): Remove the pad from the element in release_pad. --- ChangeLog | 7 +++++++ ext/ogg/gstoggmux.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 172d3b846f..1b94985166 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-10-27 Wim Taymans + + Patch by: Mark Nauwelaerts + + * ext/ogg/gstoggmux.c: (gst_ogg_mux_release_pad): + Remove the pad from the element in release_pad. + 2006-10-27 Tim-Philipp Müller * sys/ximage/ximagesink.c: (gst_ximagesink_get_type): diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 7c1ab4d61a..5f12ec3746 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -469,6 +469,7 @@ gst_ogg_mux_release_pad (GstElement * element, GstPad * pad) GST_OBJECT_UNLOCK (ogg_mux->collect); gst_collect_pads_remove_pad (ogg_mux->collect, pad); + gst_element_remove_pad (element, pad); } /* handle events */