summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-08-27 15:39:16 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-08-27 15:40:02 +0200
commit29153f49b341858bf3da3b34fb5cc5772bafc83e (patch)
tree01a3b44e670c1fd23b783b7aaf456743b1ac6090
parent071a236c5a906b43f1e10f8fd80ba34b02130604 (diff)
downloadyoutube-dl-29153f49b341858bf3da3b34fb5cc5772bafc83e.tar.gz
youtube-dl-29153f49b341858bf3da3b34fb5cc5772bafc83e.tar.xz
youtube-dl-29153f49b341858bf3da3b34fb5cc5772bafc83e.zip
[downloader/hls] Use the correct program when reporting an error
-rw-r--r--youtube_dl/downloader/hls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py
index 9f29e2f81..4082e481a 100644
--- a/youtube_dl/downloader/hls.py
+++ b/youtube_dl/downloader/hls.py
@@ -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