decklinkvideosink: Fix selection of > PAL widescreen modes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2601>
This commit is contained in:
parent
428b66cfae
commit
87230db55c
@ -515,7 +515,7 @@ static const struct
|
||||
const GstDecklinkMode *
|
||||
gst_decklink_get_mode (GstDecklinkModeEnum e)
|
||||
{
|
||||
if (e < GST_DECKLINK_MODE_AUTO || e > GST_DECKLINK_MODE_PAL_P_WIDESCREEN)
|
||||
if (e < GST_DECKLINK_MODE_AUTO || e > GST_DECKLINK_MODE_8Kp60)
|
||||
return NULL;
|
||||
return &modes[e];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user