aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/downloader
diff options
context:
space:
mode:
authorremitamine <[email protected]>2016-04-16 19:45:56 +0100
committerremitamine <[email protected]>2016-04-16 19:45:56 +0100
commitd868f43c588b9929208823e86c12669d69e4e2cd (patch)
tree566fd59aaaa2ec9df28bf8faaaeace1a9f6b7c30 /youtube_dl/downloader
parentce599d5a7edf2161d0881ccd263131d51c656093 (diff)
downloadyoutube-dl-d868f43c588b9929208823e86c12669d69e4e2cd.tar.gz
youtube-dl-d868f43c588b9929208823e86c12669d69e4e2cd.zip
[ffmpeg] check for - file name in _ffmpeg_filename_argument
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r--youtube_dl/downloader/external.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py
index cda39fe97..8d642fc3e 100644
--- a/youtube_dl/downloader/external.py
+++ b/youtube_dl/downloader/external.py
@@ -235,10 +235,7 @@ class FFmpegFD(ExternalFD):
args += ['-f', EXT_TO_OUT_FORMATS.get(info_dict['ext'], info_dict['ext'])]
args = [encodeArgument(opt) for opt in args]
- if tmpfilename == '-':
- args.append('pipe:1')
- else:
- args.append(encodeFilename(ffpp._ffmpeg_filename_argument(tmpfilename), True))
+ args.append(encodeFilename(ffpp._ffmpeg_filename_argument(tmpfilename), True))
self._debug_cmd(args)