[downloader/hls] Use the correct program when reporting an error
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 27 Aug 2014 13:39:16 +0000 (15:39 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 27 Aug 2014 13:40:02 +0000 (15:40 +0200)
youtube_dl/downloader/hls.py

index 9f29e2f8110ef09d8bba4c1d57e38acb8da8a52e..4082e481a83297f1364c79d49641222ade4ca828 100644 (file)
@@ -42,5 +42,5 @@ class HlsFD(FileDownloader):
             return True
         else:
             self.to_stderr(u"\n")
-            self.report_error(u'ffmpeg exited with code %d' % retval)
+            self.report_error(u'%s exited with code %d' % (program, retval))
             return False