Adjust to correct 60 fps case
This commit is contained in:
1 parent
40e48c9317
commit
f570fb57b9
1 file changed
+1
-1
@@ -331,7 +331,7 @@ def get_best_video_format(media):
|
|||||||
for fmt in video_formats:
|
for fmt in video_formats:
|
||||||
# Check for a codec, hdr and fps match but drop the resolution
|
# Check for a codec, hdr and fps match but drop the resolution
|
||||||
if (source_vcodec == fmt['vcodec'] and
|
if (source_vcodec == fmt['vcodec'] and
|
||||||
not fmt['is_hdr'] and fmt['is_60fps']):
|
not fmt['is_hdr'] and not fmt['is_60fps']):
|
||||||
# Close match
|
# Close match
|
||||||
exact_match, best_match = False, fmt
|
exact_match, best_match = False, fmt
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in new issue
Block a user