mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-11-02 04:34:18 +09:00
[ffmpeg] check for - file name in _ffmpeg_filename_argument
This commit is contained in:
1 parent
ce599d5a7e
commit
d868f43c58
2 files changed
+2
-5
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user