aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-04-07 23:32:50 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-04-07 23:33:05 +0200
commit269aecd0c010de98fa8816d511f061e0768757f4 (patch)
treef89020fb11dae76d7bae6ae56f411ebed47c0008 /youtube_dl/postprocessor
parentaafddb2b0a0c6493e5c1e9f92c1570d3c018845b (diff)
[ffmpeg] Do not pass in byets to subprocess (Fixes #2717)
Diffstat (limited to 'youtube_dl/postprocessor')
-rw-r--r--youtube_dl/postprocessor/ffmpeg.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py
index 98b5eccb4..8922920cd 100644
--- a/youtube_dl/postprocessor/ffmpeg.py
+++ b/youtube_dl/postprocessor/ffmpeg.py
@@ -53,8 +53,7 @@ class FFmpegPostProcessor(PostProcessor):
if self._downloader.params.get('verbose', False):
self._downloader.to_screen(u'[debug] ffmpeg command line: %s' % shell_quote(cmd))
- bcmd = [self._downloader.encode(c) for c in cmd]
- p = subprocess.Popen(bcmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = p.communicate()
if p.returncode != 0:
stderr = stderr.decode('utf-8', 'replace')