aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorAurélio A. Heckert <aurelio@colivre.coop.br>2015-07-01 20:12:26 -0300
committerAurélio A. Heckert <aurelio@colivre.coop.br>2015-07-01 20:12:26 -0300
commitaa5d9a79d6b5c354ee4a6bfbb43f94c2485ab9b4 (patch)
tree392263ff61b8aedda48947d327ace01950c33a0b /youtube_dl/__init__.py
parent1866432db74946c2b66263d38ed2c9d9d7e3177d (diff)
Simplify `postprocessor_args` transmission to PP base class
* Remove `extra_cmd_args` transmission from sub to super class. * Simplify params transmission through `downloader.params`.
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 356697015..249f76365 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -227,7 +227,6 @@ def _real_main(argv=None):
postprocessors.append({
'key': 'FFmpegVideoConvertor',
'preferedformat': opts.recodevideo,
- 'extra_cmd_args': opts.postprocessor_args,
})
if opts.convertsubtitles:
postprocessors.append({
@@ -354,6 +353,7 @@ def _real_main(argv=None):
'extract_flat': opts.extract_flat,
'merge_output_format': opts.merge_output_format,
'postprocessors': postprocessors,
+ 'postprocessor_args': shlex.split(opts.postprocessor_args or ''),
'fixup': opts.fixup,
'source_address': opts.source_address,
'call_home': opts.call_home,