Commit 34ab3bb9 authored by Ilkka Ollakka's avatar Ilkka Ollakka

httplive: Choose initial stream to be the biggest one, avoiding audio-only as...

httplive: Choose initial stream to be the biggest one, avoiding audio-only as migration from that doesn't work in some cases
parent c74824b3
...@@ -1991,7 +1991,7 @@ static int Open(vlc_object_t *p_this) ...@@ -1991,7 +1991,7 @@ static int Open(vlc_object_t *p_this)
sizeof( hls_stream_t* ), &hls_CompareStreams ); sizeof( hls_stream_t* ), &hls_CompareStreams );
/* Choose first HLS stream to start with */ /* Choose first HLS stream to start with */
int current = p_sys->playback.stream = 0; int current = p_sys->playback.stream = p_sys->hls_stream->i_count-1;
p_sys->playback.segment = p_sys->download.segment = ChooseSegment(s, current); p_sys->playback.segment = p_sys->download.segment = ChooseSegment(s, current);
/* manage encryption key if needed */ /* manage encryption key if needed */
......
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