From: Jaime Marquínez Ferrándiz Date: Thu, 3 Apr 2014 11:35:07 +0000 (+0200) Subject: [downloader/f4m] Close the final video X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b900e7cba451d18054b774b6245d787d412f4388;p=youtube-dl [downloader/f4m] Close the final video --- 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)