decklinkvideosink: Fix selection of > PAL widescreen modes
authorSebastian Dröge <sebastian@centricular.com>
Wed, 15 Jun 2022 07:07:26 +0000 (10:07 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 15 Jun 2022 13:23:51 +0000 (13:23 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2601>

subprojects/gst-plugins-bad/sys/decklink/gstdecklink.cpp

index 72a5774..e3943e8 100644 (file)
@@ -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];
 }