aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-17 12:09:12 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-17 12:09:12 +0100
commit85729c51afad484ef784faf5d82bad8acab77d5e (patch)
treed556af4c7f9fbfaf67cfc7cb3acc1cabc845dc86 /youtube_dl/options.py
parent1db5fbcfe3ef95654aa642ebe483fb070852cb49 (diff)
downloadyoutube-dl-85729c51afad484ef784faf5d82bad8acab77d5e.tar.xz
[downloader] Add --hls-prefer-native to use the native HLS downloader (#4966)
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index ba35399cf..5f678f76b 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -425,6 +425,10 @@ def parseOpts(overrideArguments=None):
dest='xattr_set_filesize', action='store_true',
help='(experimental) set file xattribute ytdl.filesize with expected filesize')
downloader.add_option(
+ '--hls-prefer-native',
+ dest='hls_prefer_native', action='store_true',
+ help='(experimental) Use the native HLS downloader instead of ffmpeg.')
+ downloader.add_option(
'--external-downloader',
dest='external_downloader', metavar='COMMAND',
help='(experimental) Use the specified external downloader. '