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 Part-of: <gstreamer/gstreamer!8604>
@@ -107,8 +107,16 @@ struct _GstAlphaCombine
@@ -152,33 +160,83 @@ static void
@@ -492,7 +550,7 @@ gst_alpha_combine_sink_event (GstPad * pad, GstObject * object,
@@ -523,7 +581,7 @@ gst_alpha_combine_alpha_event (GstPad * pad, GstObject * object,
@@ -587,7 +645,9 @@ gst_alpha_combine_change_state (GstElement * element, GstStateChange transition)
@@ -600,7+660,7 @@
@@ -623,7+683,7 @@
@@ -669,7 +735,10 @@ gst_alpha_combine_init (GstAlphaCombine * self)