]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[downloader/f4m] Close the final video
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 3 Apr 2014 11:35:07 +0000 (13:35 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 3 Apr 2014 11:35:07 +0000 (13:35 +0200)
youtube_dl/downloader/f4m.py

index 4e6abfe108f8e77da090ac420873229e45b3d0f9..e6be6ae6c878c9ede7cd2cf3b6be663e22bb8be1 100644 (file)
@@ -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)