Skip to content

Commit db1c80d

Browse files
committed
Resolutions
1 parent eb0003d commit db1c80d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmd/trigger_ui/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,11 @@ func (s *TriggerServer) vxExportPOST(ctx *gin.Context) {
292292
return
293293
}
294294

295+
// Fallback to defaults if none provided by Vidispine
296+
if len(vsresolutions) == 0 {
297+
vsresolutions = defaultResolutions()
298+
}
299+
295300
var selectedResolutions []utils.Resolution
296301
for _, i := range resolutionIndexes {
297302
r := vsresolutions[i]

0 commit comments

Comments
 (0)