stream_filter/httplive.c: reloading playlist check before download segments
Rearrange hls_Thread logic with live playback in mind. In case all segments have been downloaded, then make sure that reloading the playlist file happens before downloading the next segment. This is also true when it is time to reload the playlist.
Showing with 31 additions and 26 deletions