aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor/ffmpeg.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-04-16 21:49:13 +0100
committerremitamine <remitamine@gmail.com>2016-04-16 21:50:13 +0100
commitb9f2fdd37fe2085deb09710a2084c940e9920304 (patch)
treeee803d3d2208be7c2b45a4e40c99f957ca8a7fbf /youtube_dl/postprocessor/ffmpeg.py
parentd868f43c588b9929208823e86c12669d69e4e2cd (diff)
[ffmpeg] Clarify rationale for pipe(-) exclusion in _ffmpeg_filename_argument
Diffstat (limited to 'youtube_dl/postprocessor/ffmpeg.py')
-rw-r--r--youtube_dl/postprocessor/ffmpeg.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py
index 30af6eb5a..1793a878c 100644
--- a/youtube_dl/postprocessor/ffmpeg.py
+++ b/youtube_dl/postprocessor/ffmpeg.py
@@ -175,6 +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)
+ # Also leave '-' intact in order not to break streaming to stdout.
return 'file:' + fn if fn != '-' else fn