aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-04-03 13:35:07 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-04-03 13:35:07 +0200
commitb900e7cba451d18054b774b6245d787d412f4388 (patch)
tree62cb08a7948c8090aec7a8f4e14d61a5885bb116 /youtube_dl
parent14cb4979f0215dcdb08c036f6529c4cecea2ffdf (diff)
[downloader/f4m] Close the final video
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/downloader/f4m.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/downloader/f4m.py b/youtube_dl/downloader/f4m.py
index 4e6abfe10..e6be6ae6c 100644
--- a/youtube_dl/downloader/f4m.py
+++ b/youtube_dl/downloader/f4m.py
@@ -297,6 +297,7 @@ class F4mFD(FileDownloader):
break
frags_filenames.append(frag_filename)
+ dest_stream.close()
self.report_finish(format_bytes(state['downloaded_bytes']), time.time() - start)
self.try_rename(tmpfilename, filename)