mirror of
https://github.com/mpv-player/mpv
synced 2024-10-06 14:54:02 +02:00
parent
0d384592c5
commit
aa300f8023
@ -535,6 +535,7 @@ static void reset(struct ao *ao)
|
||||
cork(ao, true);
|
||||
struct priv *priv = ao->priv;
|
||||
pa_threaded_mainloop_lock(priv->mainloop);
|
||||
priv->playing = false;
|
||||
priv->retval = 0;
|
||||
if (!waitop(priv, pa_stream_flush(priv->stream, success_cb, ao)) ||
|
||||
!priv->retval)
|
||||
|
Loading…
Reference in New Issue
Block a user