pipewiresink: stop bufferpool flushing after resuming from pause

See #1048
This commit is contained in:
George Kiagiadakis 2021-04-13 17:35:44 +03:00 committed by Wim Taymans
parent 60b405fdfd
commit ac91383cf5

View file

@ -776,6 +776,7 @@ gst_pipewire_sink_change_state (GstElement * element, GstStateChange transition)
pw_thread_loop_lock (this->core->loop);
pw_stream_set_active(this->stream, true);
pw_thread_loop_unlock (this->core->loop);
gst_buffer_pool_set_flushing(GST_BUFFER_POOL_CAST(this->pool), FALSE);
break;
case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
/* stop play ASAP by corking */