projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaab8c5
)
[downloader/hls] Fix total fragments count when ad fragments exist
author
Sergey M․
<dstftw@gmail.com>
Sun, 15 Oct 2017 04:03:54 +0000
(11:03 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 15 Oct 2017 04:03:54 +0000
(11:03 +0700)
youtube_dl/downloader/hls.py
patch
|
blob
|
history
diff --git
a/youtube_dl/downloader/hls.py
b/youtube_dl/downloader/hls.py
index 7955ca510dd200fedb5d8507d937b716d8d56772..1a6e226c89c809acec5a011b943043e7314d2cfd 100644
(file)
--- 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