From 203b302bc977187a46f638ffa622f7f2f0550a37 Mon Sep 17 00:00:00 2001 From: bashonly Date: Tue, 20 May 2025 13:45:09 -0500 Subject: [PATCH] update Authored by: bashonly --- yt_dlp/extractor/twitch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/twitch.py b/yt_dlp/extractor/twitch.py index 2de5552c4f..ae52cbe086 100644 --- a/yt_dlp/extractor/twitch.py +++ b/yt_dlp/extractor/twitch.py @@ -204,9 +204,9 @@ class TwitchBaseIE(InfoExtractor): for fmt in formats: if fmt.get('vcodec') and fmt['vcodec'].startswith('av01'): # mpegts does not yet have proper support for av1 - fmt.setdefault('downloader_options', {})['ffmpeg_args_out'] = ['-f', 'mp4'] + fmt.setdefault('downloader_options', {}).update({'ffmpeg_args_out': ['-f', 'mp4']}) if self.get_param('live_from_start'): - fmt.setdefault('downloader_options', {})['ffmpeg_args'] = ['-live_start_index', '0'] + fmt.setdefault('downloader_options', {}).update({'ffmpeg_args': ['-live_start_index', '0']}) return formats