X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fdownloader%2Fhls.py;h=1a6e226c89c809acec5a011b943043e7314d2cfd;hb=08d77a95c98a1d1dcaa5df99b709f119e7a64f37;hp=7955ca510dd200fedb5d8507d937b716d8d56772;hpb=74c42d9ec3c6e0f0f67923fd151ce2531637a3db;p=youtube-dl diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py index 7955ca510..1a6e226c8 100644 --- a/youtube_dl/downloader/hls.py +++ b/youtube_dl/downloader/hls.py @@ -88,6 +88,7 @@ class HlsFD(FragmentFD): if line.startswith('#'): if anvato_ad(line): ad_frags += 1 + ad_frag_next = True continue if ad_frag_next: ad_frag_next = False