From 61a51c57a9aae865930b4cc69a1480218e374404 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 21 Oct 2016 15:54:57 +0200 Subject: demux: don't try to refresh unselected streams This could cause nonsensical queue overflow warnings, but was otherwise probably harmless. --- demux/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demux') 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. -- cgit v1.2.3