v4lsink: lower rank to MARGINAL

This commit is contained in:
Tim-Philipp Müller 2010-02-12 15:54:37 +00:00
parent bf9d8dbbdc
commit 114ba3dc6e

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_PRIMARY, !gst_element_register (plugin, "v4l2sink", GST_RANK_MARGINAL,
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) || */