]> git.sesse.net Git - vlc/commit
httplive module takes all cpu power when playing live stream
authorLuc Saillard <luc.saillard@sfr.com>
Wed, 20 Jul 2011 15:42:13 +0000 (17:42 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 22 Jul 2011 00:22:25 +0000 (02:22 +0200)
commitfba893a1a379627546a2adccc75d77e409c694dc
tree17701b296333950c22d1dbac980219a07db307ab
parent673cd7b5f23b4c920813a1907de7225279e293e9
httplive module takes all cpu power when playing live stream

When playing a live stream, the thread didn't wait for an event, so it's
like a while(1)... Just wait until we read/need a new segment.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/stream_filter/httplive.c