projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aafddb2
)
[ffmpeg] Do not pass in byets to subprocess (Fixes #2717)
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 7 Apr 2014 21:32:50 +0000
(23:32 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 7 Apr 2014 21:33:05 +0000
(23:33 +0200)
youtube_dl/postprocessor/ffmpeg.py
patch
|
blob
|
history
diff --git
a/youtube_dl/postprocessor/ffmpeg.py
b/youtube_dl/postprocessor/ffmpeg.py
index 98b5eccb49812e1e4f4e64ac62abf3cca21946c9..8922920cd03b35a94701677173609153fb1f7aa2 100644
(file)
--- 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')