From 7205bbc0315eb0e76cd83e38132efbaae80af60c Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 30 Jul 2009 13:42:21 +0300 Subject: [PATCH] adder: reset pending flush-stop flag in state_changed. (mostly) Fixes #590146. --- gst/adder/gstadder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index d81cb45..7153407 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -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; -- 2.7.4