summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-10-21 15:54:57 +0200
committerwm4 <wm4@nowhere>2016-10-21 17:11:26 +0200
commit61a51c57a9aae865930b4cc69a1480218e374404 (patch)
tree2d4e54ef0c9b23492ba290cfe25c3037fbde3fc6
parentb8b3163b859ab01cb5b2254e6c78fd63208d2f66 (diff)
downloadmpv-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.
-rw-r--r--demux/demux.c2
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.