handle dash streams with no video stream

This commit is contained in:
meeb 2020-12-13 21:39:05 +11:00
parent a1fe67f36c
commit f2f2671cf1
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ def parse_media_format(format_dict):
if 'DASH' in format_str: if 'DASH' in format_str:
is_hls = False is_hls = False
is_dash = True is_dash = True
if height > 0: if height and height > 0:
height = f'{height}P' height = f'{height}P'
else: else:
format_str = None format_str = None