This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[downloader/hls] Properly close stream
totalwebcasting
Sergey M․
9 years ago
parent
d85187eb74
commit
133a2b4ac2
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
youtube_dl/downloader/hls.py
+ 1
- 0
youtube_dl/downloader/hls.py
View File
@ -92,6 +92,7 @@ class NativeHlsFD(FragmentFD):
return
False
down
,
frag_sanitized
=
sanitize_open
(
frag_filename
,
'
rb
'
)
ctx
[
'
dest_stream
'
]
.
write
(
down
.
read
(
)
)
down
.
close
(
)
frags_filenames
.
append
(
frag_sanitized
)
self
.
_finish_frag_download
(
ctx
)
Write
Preview
Loading…
Cancel
Save