mirror of https://github.com/mpv-player/mpv
demux: explicitly wake up playback thread on metadata change etc.
Probably doesn't matter much in practice.
This commit is contained in:
parent
b723cab19d
commit
e1788384cc
|
@ -777,6 +777,8 @@ void demux_changed(demuxer_t *demuxer, int events)
|
|||
|
||||
demux_copy(in->d_buffer, demuxer);
|
||||
|
||||
if (in->wakeup_cb)
|
||||
in->wakeup_cb(in->wakeup_cb_ctx);
|
||||
pthread_mutex_unlock(&in->lock);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue