decklink: Add new persistent-id property and sort devices by persistent ID
authorWojciech Kapsa <wojciech.kapsa@medvc.eu>
Mon, 26 Sep 2022 11:57:15 +0000 (13:57 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 6 Oct 2022 15:50:11 +0000 (15:50 +0000)
commit505f48f2373d86e67f243fa32a10296020c22532
tree9eb728d024a7b6ea6d0badcb10d644984b8685c2
parent67caa45a4c0f2f2c89823fee8f1c39dc853b0442
decklink: Add new persistent-id property and sort devices by persistent ID

The order of the devices iterator from the SDK is undefined and can
randomly change.

Keep the device-number property for backwards compatibility and
simplicity but prefer the persistent-id property and also use it for the
device provider implementation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3078>
12 files changed:
subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json
subprojects/gst-plugins-bad/sys/decklink/gstdecklink.cpp
subprojects/gst-plugins-bad/sys/decklink/gstdecklink.h
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkaudiosink.cpp
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkaudiosink.h
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkaudiosrc.cpp
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkaudiosrc.h
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkdeviceprovider.cpp
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkvideosink.cpp
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkvideosink.h
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkvideosrc.cpp
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkvideosrc.h