decklink: Update enum value bounds check in gst_decklink_get_mode()
authorSebastian Dröge <sebastian@centricular.com>
Fri, 30 Oct 2020 08:02:32 +0000 (10:02 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 30 Oct 2020 08:02:32 +0000 (10:02 +0200)
commitc6aca271a1ac4ff10b0be08c779782f6879ba770
tree6c4856421c5253d38c221d361325f51eaccce3a2
parentd25be0d16e25799a9a08990601ab85241231adac
decklink: Update enum value bounds check in gst_decklink_get_mode()

The widescreen modes moved after GST_DECKLINK_MODE_2160p60 and using
them now would cause an assertion. This is a regression from
309f6187fef890c7ffa49305f38e89beac3b1423.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1737>
sys/decklink/gstdecklink.cpp