decklink: Re-order modes enum for backwards compatibility with 1.16
authorSebastian Dröge <sebastian@centricular.com>
Wed, 5 Aug 2020 07:52:08 +0000 (10:52 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 6 Aug 2020 09:22:04 +0000 (12:22 +0300)
commit309f6187fef890c7ffa49305f38e89beac3b1423
treec41e04cb824bb0fa548ad670600603803831b94c
parente70ec38000404de1c871d835a6e35dbfcc47884d
decklink: Re-order modes enum for backwards compatibility with 1.16

The PAL/NTSC widescreen modes were added after 1.16 but inserted before
the HD modes, which changed the integer values of the enums.

Move them to the very end instead to keep backwards compatibility.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1048

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1492>
docs/plugins/gst_plugins_cache.json
sys/decklink/gstdecklink.cpp
sys/decklink/gstdecklink.h
sys/decklink/gstdecklinkvideosink.cpp