X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Foptions.py;h=39fc4306a95086250d94edad2d6ecc9828e19341;hb=7d106a65ca30cc3201f147cb96aa98a15a48d6d2;hp=433245f000c896baaedf97fc033245c20b71a0c8;hpb=0179f6a8301e8dee1f435289f89cf1c748a13b16;p=youtube-dl diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 433245f00..39fc4306a 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -415,6 +415,11 @@ def parseOpts(overrideArguments=None): '--hls-prefer-native', dest='hls_prefer_native', action='store_true', help='Use the native HLS downloader instead of ffmpeg (experimental)') + downloader.add_option( + '--hls-use-mpegts', + dest='hls_use_mpegts', action='store_true', + help='Use the mpegts container for HLS videos, allowing to play the ' + 'video while downloading (some players may not be able to play it') downloader.add_option( '--external-downloader', dest='external_downloader', metavar='COMMAND',