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:
parent
ae4b0f3f7c
commit
6fafdd5142
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user