demux: explicitly wake up playback thread on metadata change etc.

Probably doesn't matter much in practice.
This commit is contained in:
wm4 2014-12-04 21:09:17 +01:00
parent b723cab19d
commit e1788384cc
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}