v4l2sink: change rank to NONE so it is never autoplugged

This commit is contained in:
Tim-Philipp Müller 2010-02-12 16:11:30 +00:00
parent fa0e3184dd
commit 532bbf36ee

View file

@ -48,7 +48,7 @@ plugin_init (GstPlugin * plugin)
if (!gst_element_register (plugin, "v4l2src", GST_RANK_PRIMARY, if (!gst_element_register (plugin, "v4l2src", GST_RANK_PRIMARY,
GST_TYPE_V4L2SRC) || GST_TYPE_V4L2SRC) ||
!gst_element_register (plugin, "v4l2sink", GST_RANK_MARGINAL, !gst_element_register (plugin, "v4l2sink", GST_RANK_NONE,
GST_TYPE_V4L2SINK) || GST_TYPE_V4L2SINK) ||
/* !gst_element_register (plugin, "v4l2jpegsrc", */ /* !gst_element_register (plugin, "v4l2jpegsrc", */
/* GST_RANK_NONE, GST_TYPE_V4L2JPEGSRC) || */ /* GST_RANK_NONE, GST_TYPE_V4L2JPEGSRC) || */