1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 09:12:40 +01:00

[downloader/f4m] Close the final video

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-04-03 13:35:07 +02:00
parent 14cb4979f0
commit b900e7cba4

View File

@ -297,6 +297,7 @@ def frag_progress_hook(status):
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)