[downloader/hls] Fix total fragments count when ad fragments exist
parent
aaab8c5e71
commit
a9ee4f6e49
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue