From b4a51e7835a9a5e4b959b004f746803691bfdc65 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 12 Aug 2016 22:17:25 +1000 Subject: winks: Give the ksvideosrc PRIMARY rank It's the primary video source on Windows, so give it a rank for autoplugging by camerabin and friends --- sys/winks/gstksvideosrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/winks/gstksvideosrc.c b/sys/winks/gstksvideosrc.c index c2bad343a..98f0b4cfb 100644 --- a/sys/winks/gstksvideosrc.c +++ b/sys/winks/gstksvideosrc.c @@ -1013,7 +1013,7 @@ plugin_init (GstPlugin * plugin) 0, "Kernel streaming video source"); if (!gst_element_register (plugin, "ksvideosrc", - GST_RANK_NONE, GST_TYPE_KS_VIDEO_SRC)) + GST_RANK_PRIMARY, GST_TYPE_KS_VIDEO_SRC)) return FALSE; if (!gst_device_provider_register (plugin, "ksdeviceprovider", -- cgit v1.2.3