aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-02 20:28:18 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-02 20:28:18 +0100
commit9fffd0469f1353c5f5e96b91a87e34d02ae7491a (patch)
tree008c0e59f9f6a8c845824f2ae7920b75a644c12d
parent469a64cebf534b702e50ad9585e63ae3f8ed5d16 (diff)
downloadyoutube-dl-9fffd0469f1353c5f5e96b91a87e34d02ae7491a.tar.xz
[options] Mark --fixup as non-experimental and correct its help
-rw-r--r--youtube_dl/downloader/external.py2
-rw-r--r--youtube_dl/options.py5
2 files changed, 3 insertions, 4 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py
index 012057ecb..e47e3bf4c 100644
--- a/youtube_dl/downloader/external.py
+++ b/youtube_dl/downloader/external.py
@@ -48,7 +48,7 @@ class ExternalFD(FileDownloader):
def _source_address(self, command_option):
command_part = []
source_address = self.ydl.params.get('source_address')
- if source_address:
+ if source_address is None:
command_part = [command_option, source_address]
return command_part
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 5e4a1ad9b..d5e575964 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -698,10 +698,9 @@ def parseOpts(overrideArguments=None):
postproc.add_option(
'--fixup',
metavar='POLICY', dest='fixup', default='detect_or_warn',
- help='(experimental) Automatically correct known faults of the file. '
+ help='Automatically correct known faults of the file. '
'One of never (do nothing), warn (only emit a warning), '
- 'detect_or_warn(check whether we can do anything about it, warn '
- 'otherwise')
+ 'detect_or_warn(the default; fix file if we can, warn otherwise)')
postproc.add_option(
'--prefer-avconv',
action='store_false', dest='prefer_ffmpeg',