Merge pull request #10819 from raleeper/adobepass
[youtube-dl] / youtube_dl / downloader / __init__.py
index 73b34fdae96262000b290df8031a4a1f6eb5e721..817591d97e88606b966b7055026f691faab840dc 100644 (file)
@@ -41,9 +41,12 @@ def get_suitable_downloader(info_dict, params={}):
         if ed.can_download(info_dict):
             return ed
 
-    if protocol == 'm3u8' and params.get('hls_prefer_native'):
+    if protocol == 'm3u8' and params.get('hls_prefer_native') is True:
         return HlsFD
 
+    if protocol == 'm3u8_native' and params.get('hls_prefer_native') is False:
+        return FFmpegFD
+
     return PROTOCOL_MAP.get(protocol, HttpFD)