v4l2sink: change rank to NONE so it is never autoplugged
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 12 Feb 2010 16:11:30 +0000 (16:11 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 13 Feb 2010 20:59:42 +0000 (20:59 +0000)
sys/v4l2/gstv4l2.c

index db2e30e..18ad3fd 100644 (file)
@@ -48,7 +48,7 @@ plugin_init (GstPlugin * plugin)
 
   if (!gst_element_register (plugin, "v4l2src", GST_RANK_PRIMARY,
           GST_TYPE_V4L2SRC) ||
-      !gst_element_register (plugin, "v4l2sink", GST_RANK_MARGINAL,
+      !gst_element_register (plugin, "v4l2sink", GST_RANK_NONE,
           GST_TYPE_V4L2SINK) ||
       /*       !gst_element_register (plugin, "v4l2jpegsrc", */
       /*           GST_RANK_NONE, GST_TYPE_V4L2JPEGSRC) || */