feat: add 360p/480p video presets and empty legacy preset default

This commit is contained in:
younisch96
2026-03-28 05:54:21 +05:00
parent 186c4b6295
commit b4f995a207
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -10,6 +10,8 @@ IMAGE_PRESETS = {
}
VIDEO_PRESETS = {
"360p (640x360)": 640,
"480p (854x480)": 854,
"520p (960x520)": 960,
"720p (1280x720)": 1280,
"1080p (1920x1080) - Premium": 1920,
+1 -1
View File
@@ -24,7 +24,7 @@ class SmartResolutionPicker:
},
"optional": {
# Backward compatibility with older saved workflows
"resolution_preset": ("STRING", {"default": "HD-1280px"}),
"resolution_preset": ("STRING", {"default": ""}),
},
}