Skip to content

Commit

Permalink
Allow multiple video components in the ui
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerX committed Aug 20, 2024
1 parent dba9e23 commit af26304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/vidispine/vsapi/shapes.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (c *Client) GetResolutions(itemVXID string) ([]Resolution, error) {
if shape == nil {
return nil, fmt.Errorf("no original shape found")
}
if len(shape.VideoComponent) != 1 {
if len(shape.VideoComponent) == 0 {
return nil, nil
}

Expand Down

0 comments on commit af26304

Please sign in to comment.