From b9f2fdd37fe2085deb09710a2084c940e9920304 Mon Sep 17 00:00:00 2001 From: remitamine Date: Sat, 16 Apr 2016 21:49:13 +0100 Subject: [PATCH] [ffmpeg] Clarify rationale for pipe(-) exclusion in _ffmpeg_filename_argument --- youtube_dl/postprocessor/ffmpeg.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.40.0