~nao20010128nao/ytdl-patched

e5354252e2e7d316902b331b91fe21b2c8698228 — nao20010128nao a month ago c78e987 1611278076
[mildom] correct resolution calculation
1 files changed, 2 insertions(+), 2 deletions(-)

M youtube_dl/extractor/mildom.py
M youtube_dl/extractor/mildom.py => youtube_dl/extractor/mildom.py +2 -2
@@ 216,8 216,8 @@ class MildomVodIE(MildomBaseIE):
                'format_id': 'video-%s' % fmt['name'],
                'url': fmt['url'],
                'protocol': 'm3u8_native',
                'width': fmt['level'],
                'height': int(fmt['level'] * autoplay['video_height'] / autoplay['video_width']),
                'width': fmt['level'] * autoplay['video_width'] // autoplay['video_height'],
                'height': fmt['level'],
                'vcodec': 'h264',
                'acodec': 'aac',
            })