diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-04-03 13:35:07 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-04-03 13:35:07 +0200 |
commit | b900e7cba451d18054b774b6245d787d412f4388 (patch) | |
tree | 62cb08a7948c8090aec7a8f4e14d61a5885bb116 | |
parent | 14cb4979f0215dcdb08c036f6529c4cecea2ffdf (diff) |
[downloader/f4m] Close the final video
-rw-r--r-- | youtube_dl/downloader/f4m.py | 1 |
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) |