diff options
author | wm4 <wm4@nowhere> | 2016-10-21 15:54:57 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-21 17:11:26 +0200 |
commit | 61a51c57a9aae865930b4cc69a1480218e374404 (patch) | |
tree | 2d4e54ef0c9b23492ba290cfe25c3037fbde3fc6 /demux | |
parent | b8b3163b859ab01cb5b2254e6c78fd63208d2f66 (diff) | |
download | mpv-61a51c57a9aae865930b4cc69a1480218e374404.tar.bz2 mpv-61a51c57a9aae865930b4cc69a1480218e374404.tar.xz |
demux: don't try to refresh unselected streams
This could cause nonsensical queue overflow warnings, but was otherwise
probably harmless.
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c index 3af0651dae..6041ada753 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -503,7 +503,7 @@ static double get_refresh_seek_pts(struct demux_internal *in) // Streams which didn't have any packets yet will return all packets, // other streams return packets only starting from the last position. if (ds->last_pos != -1 || ds->last_dts != MP_NOPTS_VALUE) - ds->refreshing = true; + ds->refreshing |= ds->selected; } // Seek back to player's current position, with a small offset added. |