1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

demux: don't try to refresh unselected streams

This could cause nonsensical queue overflow warnings, but was otherwise
probably harmless.
This commit is contained in:
wm4 2016-10-21 15:54:57 +02:00
parent b8b3163b85
commit 61a51c57a9

View File

@ -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.