X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Foptions.py;h=e5602bb3a3787fae92da14731e7f3c9922066fcd;hb=6271f1cad9331cbdb274906d8330736fb888bda2;hp=14006178d7c0a71d73a13d072e1e21304d955cfb;hpb=fb4b030aafee72801b47d4715391bd5822f80e13;p=youtube-dl diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 14006178d..e5602bb3a 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -631,6 +631,13 @@ def parseOpts(overrideArguments=None): '--xattrs', action='store_true', dest='xattrs', default=False, help='write metadata to the video file\'s xattrs (using dublin core and xdg standards)') + postproc.add_option( + '--fixup', + metavar='POLICY', dest='fixup', default='detect_or_warn', + help='(experimental) 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') postproc.add_option( '--prefer-avconv', action='store_false', dest='prefer_ffmpeg',