Bug fix: HLS module does not block until data is available. As a result live...
Bug fix: HLS module does not block until data is available. As a result live streams may end unexpectedly in case of short playlists or slow connections. Problem was fixed by blocking on a condition variable in the "read" function in case data is not available until Download thread signals (when new data is available) or a timeout of 10 seconds is reached. Blocking is done with a timed wait in order to avoid deadlocks since the thread that calls read is also responsible for calling close.
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Showing
Please register or sign in to comment