alphacombine: De-couple flush-start/stop events handling
Compare changes
- Philippe Normand authored
There is no guarantee that any FLUSH_STOP event is preceded by a FLUSH_START. The element now stops flushing once it has received a FLUSH_STOP on all its sink pads. Fixes #4174
@@ -107,8 +107,16 @@ struct _GstAlphaCombine
@@ -152,23 +160,55 @@ static void
@@ -492,7 +532,7 @@ gst_alpha_combine_sink_event (GstPad * pad, GstObject * object,
@@ -523,7 +563,7 @@ gst_alpha_combine_alpha_event (GstPad * pad, GstObject * object,
@@ -587,7 +627,7 @@ gst_alpha_combine_change_state (GstElement * element, GstStateChange transition)
@@ -600,7+640,7 @@
@@ -623,7+663,7 @@
@@ -669,7 +715,10 @@ gst_alpha_combine_init (GstAlphaCombine * self)