adder: reset pending flush-stop flag in state_changed. (mostly) Fixes #590146.
authorStefan Kost <ensonic@users.sf.net>
Thu, 30 Jul 2009 10:42:21 +0000 (13:42 +0300)
committerStefan Kost <ensonic@users.sf.net>
Thu, 30 Jul 2009 10:45:42 +0000 (13:45 +0300)
gst/adder/gstadder.c

index d81cb45..7153407 100644 (file)
@@ -1235,6 +1235,7 @@ gst_adder_change_state (GstElement * element, GstStateChange transition)
     case GST_STATE_CHANGE_READY_TO_PAUSED:
       adder->timestamp = 0;
       adder->offset = 0;
+      adder->flush_stop_pending = FALSE;
       adder->segment_pending = TRUE;
       adder->segment_position = 0;
       adder->segment_rate = 1.0;