From 56b213030058e4a921f27ac47c6cd47f7a6b8800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 25 Oct 2020 13:30:55 +0200 Subject: decklink: Add a default profile id This causes no changes to the profile but keeps the existing settings. The profile can also be changed from e.g. the card's configuration application and in that case probably should be left alone. The default is the new value as it keeps the profile setting as it is, which is consistent with the previous behaviour in 1.18. Part-of: --- docs/plugins/gst_plugins_cache.json | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'docs') diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 8e318dd33..c2aa3c4df 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -8089,7 +8089,7 @@ "construct": true, "construct-only": false, "controllable": false, - "default": "one-sub-device-full (0)", + "default": "default (0)", "mutable": "null", "readable": true, "type": "GstDecklinkProfileId", @@ -8262,7 +8262,7 @@ "construct": true, "construct-only": false, "controllable": false, - "default": "one-sub-device-full (0)", + "default": "default (0)", "mutable": "null", "readable": true, "type": "GstDecklinkProfileId", @@ -8673,30 +8673,35 @@ "GstDecklinkProfileId": { "kind": "enum", "values": [ + { + "desc": "Default, don't change profile", + "name": "default", + "value": "0" + }, { "desc": "One sub-device, Full-Duplex", "name": "one-sub-device-full", - "value": "0" + "value": "1" }, { "desc": "One sub-device, Half-Duplex", "name": "one-sub-device-half", - "value": "1" + "value": "2" }, { "desc": "Two sub-devices, Full-Duplex", "name": "two-sub-devices-full", - "value": "2" + "value": "3" }, { "desc": "Two sub-devices, Half-Duplex", "name": "two-sub-devices-half", - "value": "3" + "value": "4" }, { "desc": "Four sub-devices, Half-Duplex", "name": "four-sub-devices-half", - "value": "4" + "value": "5" } ] }, -- cgit v1.2.1