summaryrefslogtreecommitdiff
path: root/sys/v4l2/gstv4l2.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2014-06-26 14:52:57 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-06-26 14:57:36 -0400
commita9c385686ab9c12fe197e93511ee93a3f86ef42e (patch)
treea0bf449969098703053fb1e79572d237f882e62f /sys/v4l2/gstv4l2.c
parente4f0133cb194b186e1ddbc21c77ce3ea451bfd9d (diff)
Rename GstDeviceMonitor to GstDeviceProvider
Diffstat (limited to 'sys/v4l2/gstv4l2.c')
-rw-r--r--sys/v4l2/gstv4l2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/v4l2/gstv4l2.c b/sys/v4l2/gstv4l2.c
index d4871f8d7..08ff3f582 100644
--- a/sys/v4l2/gstv4l2.c
+++ b/sys/v4l2/gstv4l2.c
@@ -43,7 +43,7 @@
#include "gstv4l2sink.h"
#include "gstv4l2radio.h"
#include "gstv4l2videodec.h"
-#include "gstv4l2devicemonitor.h"
+#include "gstv4l2deviceprovider.h"
#include "gstv4l2transform.h"
/* used in v4l2_calls.c and v4l2src_calls.c */
@@ -199,8 +199,8 @@ plugin_init (GstPlugin * plugin)
GST_TYPE_V4L2SINK) ||
!gst_element_register (plugin, "v4l2radio", GST_RANK_NONE,
GST_TYPE_V4L2RADIO) ||
- !gst_device_monitor_register (plugin, "v4l2monitor",
- GST_RANK_PRIMARY, GST_TYPE_V4L2_DEVICE_MONITOR) ||
+ !gst_device_provider_register (plugin, "v4l2deviceprovider",
+ GST_RANK_PRIMARY, GST_TYPE_V4L2_DEVICE_PROVIDER) ||
/* etc. */
!gst_v4l2_probe_and_register (plugin))
return FALSE;