diff options
author | wm4 <wm4@nowhere> | 2016-01-19 14:21:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-19 14:21:02 +0100 |
commit | 6fafdd51428dced8553f8545ce1a88fe88614b2a (patch) | |
tree | 852d867fa2686a70983d020c9709d0eb7fe052ed /demux | |
parent | ae4b0f3f7ce31e1f9f5ea51422cd21c900179d52 (diff) | |
download | mpv-6fafdd51428dced8553f8545ce1a88fe88614b2a.tar.bz2 mpv-6fafdd51428dced8553f8545ce1a88fe88614b2a.tar.xz |
demux: remove a minor difference between threaded/unthreaded modes
This difference was unnecessary.
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demux/demux.c b/demux/demux.c index d0a37b9d83..c00f5bf3c8 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -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); |