diff options
author | Jan Schmidt <jan@centricular.com> | 2016-08-12 22:17:25 +1000 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2016-08-16 00:43:39 +1000 |
commit | b4a51e7835a9a5e4b959b004f746803691bfdc65 (patch) | |
tree | 748325d7a268d31f8203f250b59ca0dd62c1d666 | |
parent | 16fb11cf33d7fa8883e38bfe01401ad9d7d08808 (diff) |
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
-rw-r--r-- | sys/winks/gstksvideosrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |