Adjust to correct 60 fps case

This commit is contained in:
tcely authored and GitHub committed 2024-12-05 07:57:24 -05:00
1 parent 40e48c9317
commit f570fb57b9
1 file changed
+1 -1
+1 -1
View File
@@ -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