Browse Source

[downloader/hls] Use the correct program when reporting an error

Jaime Marquínez Ferrándiz 11 years ago
parent
commit
29153f49b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/downloader/hls.py

+ 1 - 1
youtube_dl/downloader/hls.py

@@ -42,5 +42,5 @@ class HlsFD(FileDownloader):
             return True
             return True
         else:
         else:
             self.to_stderr(u"\n")
             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
             return False