commit: b900e7cba451d18054b774b6245d787d412f4388
parent 14cb4979f0215dcdb08c036f6529c4cecea2ffdf
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date: Thu, 3 Apr 2014 13:35:07 +0200
[downloader/f4m] Close the final video
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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)