]> git.sesse.net Git - vlc/commit
httplive: don't reload playlist all the time.
authorIlkka Ollakka <ileoo@videolan.org>
Mon, 26 Aug 2013 13:08:56 +0000 (16:08 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Mon, 26 Aug 2013 13:39:49 +0000 (16:39 +0300)
commit7655d6c889d2425c1fd4615f7e2692df1a47470c
treeaa0ffbea01a1a35fcb25d08bb1b05f024ded59cd
parent7fa797f3ec9ef00f1f03d531687b40cab582ba9e
httplive: don't reload playlist all the time.

Reload playlist only when there is only 1 or 0 segments left that are
downloaded but not played yet. Also change the default interval to be
segment length instead of half segment length.

With this patch it downloads 3 segments from 5 seglen playlist at the
time and then plays those. Should be much nicer on http-server and
powersaving (marginally as there isn't network activity that often).
modules/stream_filter/httplive.c