X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Foptions.py;h=d1f8d1331cf153a58a42b4220ebe37b441f3df4b;hb=1dbfd7875497398e8c92c67b8307bafef20e8113;hp=822728afc5b7a1bbae9e97435a0fffb0dd1d25e9;hpb=52bb437e412726a37d585cf782c88bc8c8a042a4;p=youtube-dl.git diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 822728afc..d1f8d1331 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -425,8 +425,12 @@ def parseOpts(overrideArguments=None): help='Set file xattribute ytdl.filesize with expected filesize (experimental)') downloader.add_option( '--hls-prefer-native', - dest='hls_prefer_native', action='store_true', - help='Use the native HLS downloader instead of ffmpeg (experimental)') + dest='hls_prefer_native', action='store_true', default=None, + help='Use the native HLS downloader instead of ffmpeg') + downloader.add_option( + '--hls-prefer-ffmpeg', + dest='hls_prefer_native', action='store_false', default=None, + help='Use ffmpeg instead of the native HLS downloader') downloader.add_option( '--hls-use-mpegts', dest='hls_use_mpegts', action='store_true', @@ -724,7 +728,7 @@ def parseOpts(overrideArguments=None): postproc.add_option( '--embed-subs', action='store_true', dest='embedsubtitles', default=False, - help='Embed subtitles in the video (only for mkv and mp4 videos)') + help='Embed subtitles in the video (only for mp4, webm and mkv videos)') postproc.add_option( '--embed-thumbnail', action='store_true', dest='embedthumbnail', default=False,