[cleanup] Misc

This commit is contained in:
pukkandan
2022-11-30 11:34:51 +05:30
parent c9f5ce5118
commit 71df9b7fd5
11 changed files with 72 additions and 40 deletions

View File

@@ -3123,7 +3123,7 @@ class YoutubeDL:
fd, success = None, True
if info_dict.get('protocol') or info_dict.get('url'):
fd = get_suitable_downloader(info_dict, self.params, to_stdout=temp_filename == '-')
if fd is not FFmpegFD and (
if fd is not FFmpegFD and 'no-direct-merge' not in self.params['compat_opts'] and (
info_dict.get('section_start') or info_dict.get('section_end')):
msg = ('This format cannot be partially downloaded' if FFmpegFD.available()
else 'You have requested downloading the video partially, but ffmpeg is not installed')