1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00

demux: remove a minor difference between threaded/unthreaded modes

This difference was unnecessary.
This commit is contained in:
wm4 2016-01-19 14:21:02 +01:00
parent ae4b0f3f7c
commit 6fafdd5142

View File

@ -1300,9 +1300,9 @@ void demuxer_select_track(struct demuxer *demuxer, struct sh_stream *stream,
stream->ds->active = false;
ds_flush(stream->ds);
in->tracks_switched = true;
if (selected && in->refresh_seeks_enabled)
in->start_refresh_seek = true;
if (in->threading) {
if (selected && in->refresh_seeks_enabled)
in->start_refresh_seek = true;
pthread_cond_signal(&in->wakeup);
} else {
execute_trackswitch(in);