gst/matroska/matroska-mux.c: gst_collect_pads_stop() needs to be called before chaini...
authorMark Nauwelaerts <manauw@skynet.be>
Tue, 23 May 2006 20:15:04 +0000 (20:15 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 23 May 2006 20:15:04 +0000 (20:15 +0000)
Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet be>
* gst/matroska/matroska-mux.c: (gst_matroska_mux_change_state):
gst_collect_pads_stop() needs to be called before chaining up
to the parent class (#342734).

ChangeLog
gst/matroska/matroska-mux.c

index e80a0c2..6f95aa9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
 
+       Patch by: Mark Nauwelaerts  <manauw at skynet be>
+
+       * gst/matroska/matroska-mux.c: (gst_matroska_mux_change_state):
+         gst_collect_pads_stop() needs to be called before chaining up
+         to the parent class (#342734).
+
+2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
+
        * ext/flac/Makefile.am:
        * ext/flac/flac_compat.h:
        * ext/flac/gstflac.c:
index 2b76df0..5949505 100644 (file)
@@ -1722,6 +1722,9 @@ gst_matroska_mux_change_state (GstElement * element, GstStateChange transition)
       break;
     case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
       break;
+    case GST_STATE_CHANGE_PAUSED_TO_READY:
+      gst_collect_pads_stop (mux->collect);
+      break;
     default:
       break;
   }
@@ -1732,7 +1735,6 @@ gst_matroska_mux_change_state (GstElement * element, GstStateChange transition)
     case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
       break;
     case GST_STATE_CHANGE_PAUSED_TO_READY:
-      gst_collect_pads_stop (mux->collect);
       gst_matroska_mux_reset (GST_ELEMENT (mux));
       break;
     case GST_STATE_CHANGE_READY_TO_NULL: