ext/ogg/gstoggmux.c: Remove the pad from the element in release_pad.
authorMark Nauwelaerts <manauw@skynet.be>
Fri, 27 Oct 2006 16:45:30 +0000 (16:45 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 27 Oct 2006 16:45:30 +0000 (16:45 +0000)
Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_release_pad):
Remove the pad from the element in release_pad.

ChangeLog
ext/ogg/gstoggmux.c

index 172d3b8..1b94985 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-10-27  Wim Taymans  <wim@fluendo.com>
+
+       Patch by: Mark Nauwelaerts <manauw at skynet dot be>
+
+       * 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  <tim at centricular dot net>
 
        * sys/ximage/ximagesink.c: (gst_ximagesink_get_type):
index 7c1ab4d..5f12ec3 100644 (file)
@@ -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 */