aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor/ffmpeg.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-04-16 19:45:56 +0100
committerremitamine <remitamine@gmail.com>2016-04-16 19:45:56 +0100
commitd868f43c588b9929208823e86c12669d69e4e2cd (patch)
tree566fd59aaaa2ec9df28bf8faaaeace1a9f6b7c30 /youtube_dl/postprocessor/ffmpeg.py
parentce599d5a7edf2161d0881ccd263131d51c656093 (diff)
[ffmpeg] check for - file name in _ffmpeg_filename_argument
Diffstat (limited to 'youtube_dl/postprocessor/ffmpeg.py')
-rw-r--r--youtube_dl/postprocessor/ffmpeg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py
index b64cd396b..30af6eb5a 100644
--- a/youtube_dl/postprocessor/ffmpeg.py
+++ b/youtube_dl/postprocessor/ffmpeg.py
@@ -175,7 +175,7 @@ class FFmpegPostProcessor(PostProcessor):
# Always use 'file:' because the filename may contain ':' (ffmpeg
# interprets that as a protocol) or can start with '-' (-- is broken in
# ffmpeg, see https://ffmpeg.org/trac/ffmpeg/ticket/2127 for details)
- return 'file:' + fn
+ return 'file:' + fn if fn != '-' else fn
class FFmpegExtractAudioPP(FFmpegPostProcessor):