[fd/hls] Apply extra_param_to_key_url from info dict

Authored by: bashonly
This commit is contained in:
bashonly
2024-06-15 18:38:02 -05:00
committed by bashonly
parent 4093eb1fcc
commit ca8885edd9
4 changed files with 26 additions and 14 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ class ExternalFD(FragmentFD):
return all((
not info_dict.get('to_stdout') or Features.TO_STDOUT in cls.SUPPORTED_FEATURES,
'+' not in info_dict['protocol'] or Features.MULTIPLE_FORMATS in cls.SUPPORTED_FEATURES,
not traverse_obj(info_dict, ('hls_aes', ...), 'extra_param_to_segment_url'),
not traverse_obj(info_dict, ('hls_aes', ...), 'extra_param_to_segment_url', 'extra_param_to_key_url'),
all(proto in cls.SUPPORTED_PROTOCOLS for proto in info_dict['protocol'].split('+')),
))