Commit 5af85ce4 authored by Jean-Paul Saman's avatar Jean-Paul Saman

stream_filter/httplive.c: do not calculate stream size for live streams

It is not possible to calculate a stream size for a live HLS stream.
parent 37164e21
......@@ -810,9 +810,11 @@ static int parse_HTTPLiveStreaming(stream_t *s)
return VLC_EGENERIC;
}
}
/* Stream size (approximate) */
hls->size = hls_GetStreamSize(hls);
else
{
/* Stream size (approximate) */
hls->size = hls_GetStreamSize(hls);
}
/* Can we cache files after playback */
p_sys->b_cache = hls->b_cache;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment