sys/v4l2/gstv4l2.c: Give it a primary rank for autovideosrc.

Original commit message from CVS:
* sys/v4l2/gstv4l2.c:
Give it a primary rank for autovideosrc.
This commit is contained in:
Stefan Kost 2008-11-14 15:42:32 +00:00
parent d8e74cabdc
commit b51bb31b73
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-11-14 Stefan Kost <ensonic@users.sf.net>
* sys/v4l2/gstv4l2.c:
Give it a primary rank for autovideosrc.
2008-11-14 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: Bjorn Ostby <bjornos at axis dot com>

View file

@ -43,7 +43,7 @@ plugin_init (GstPlugin * plugin)
{
GST_DEBUG_CATEGORY_INIT (v4l2_debug, "v4l2", 0, "V4L2 API calls");
if (!gst_element_register (plugin, "v4l2src", GST_RANK_NONE,
if (!gst_element_register (plugin, "v4l2src", GST_RANK_PRIMARY,
GST_TYPE_V4L2SRC))
/* !gst_element_register (plugin, "v4l2jpegsrc", */
/* GST_RANK_NONE, GST_TYPE_V4L2JPEGSRC) || */