mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +00:00
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:
parent
d8e74cabdc
commit
b51bb31b73
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2008-11-14 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
Patch by: Bjorn Ostby <bjornos at axis dot com>
|
Patch by: Bjorn Ostby <bjornos at axis dot com>
|
||||||
|
|
|
@ -43,7 +43,7 @@ plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
GST_DEBUG_CATEGORY_INIT (v4l2_debug, "v4l2", 0, "V4L2 API calls");
|
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_TYPE_V4L2SRC))
|
||||||
/* !gst_element_register (plugin, "v4l2jpegsrc", */
|
/* !gst_element_register (plugin, "v4l2jpegsrc", */
|
||||||
/* GST_RANK_NONE, GST_TYPE_V4L2JPEGSRC) || */
|
/* GST_RANK_NONE, GST_TYPE_V4L2JPEGSRC) || */
|
||||||
|
|
Loading…
Reference in a new issue