From 102946ee0358924f22477435114785bd1f901ade Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 18 Feb 2015 21:10:43 +0100 Subject: player: enable cache and demuxer thread for subtitles too Includes some logic for not starting the demuxer thread for fully read subtitles. (Well, the cache will still waste _lots_ of resources, and the cache always has to be created, because we don't know whether it'll be needed _before_ opening the file.) See #1597. --- demux/demux.c | 1 + 1 file changed, 1 insertion(+) (limited to 'demux/demux.c') diff --git a/demux/demux.c b/demux/demux.c index e901a9352b..8af76daa1f 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -820,6 +820,7 @@ static void demux_copy(struct demuxer *dst, struct demuxer *src) dst->ts_resets_possible = src->ts_resets_possible; dst->rel_seeks = src->rel_seeks; dst->allow_refresh_seeks = src->allow_refresh_seeks; + dst->fully_read = src->fully_read; dst->start_time = src->start_time; dst->priv = src->priv; } -- cgit v1.2.3