projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d868f43
)
[ffmpeg] Clarify rationale for pipe(-) exclusion in _ffmpeg_filename_argument
author
remitamine
<remitamine@gmail.com>
Sat, 16 Apr 2016 20:49:13 +0000
(21:49 +0100)
committer
remitamine
<remitamine@gmail.com>
Sat, 16 Apr 2016 20:50:13 +0000
(21:50 +0100)
youtube_dl/postprocessor/ffmpeg.py
patch
|
blob
|
history
diff --git
a/youtube_dl/postprocessor/ffmpeg.py
b/youtube_dl/postprocessor/ffmpeg.py
index 30af6eb5a5ee16774858f3da37b4d91bf647dd30..1793a878cb57b60ab7e59cb55f17eb4127c32f92 100644
(file)
--- 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