diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-11-02 13:33:13 +0100 |
---|---|---|
committer | Olivier CrĂȘte <tester@tester.ca> | 2014-03-16 20:37:54 -0400 |
commit | cfa58778992aef5ab229ab6a2421db6f86c0dd29 (patch) | |
tree | 27994bded5f536dce2ab9d4dc9c7501009144107 /sys/v4l2/gstv4l2.c | |
parent | 019a0009afa5ccb8bc5d5d78d3bafc3dbf46d811 (diff) |
v4l2: Implement GstDeviceMonitor subclass
https://bugzilla.gnome.org/show_bug.cgi?id=678402
Diffstat (limited to 'sys/v4l2/gstv4l2.c')
-rw-r--r-- | sys/v4l2/gstv4l2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2.c b/sys/v4l2/gstv4l2.c index dd44069c0..a5361d748 100644 --- a/sys/v4l2/gstv4l2.c +++ b/sys/v4l2/gstv4l2.c @@ -34,6 +34,7 @@ #include "gstv4l2sink.h" #include "gstv4l2radio.h" #include "gstv4l2videodec.h" +#include "gstv4l2devicemonitor.h" /* #include "gstv4l2jpegsrc.h" */ /* #include "gstv4l2mjpegsrc.h" */ /* #include "gstv4l2mjpegsink.h" */ @@ -53,6 +54,8 @@ plugin_init (GstPlugin * plugin) !gst_element_register (plugin, "v4l2radio", GST_RANK_NONE, GST_TYPE_V4L2RADIO) || !gst_v4l2_video_dec_register (plugin) || + !gst_device_monitor_register (plugin, "v4l2monitor", + GST_RANK_PRIMARY, GST_TYPE_V4L2_DEVICE_MONITOR) || /* !gst_element_register (plugin, "v4l2jpegsrc", */ /* GST_RANK_NONE, GST_TYPE_V4L2JPEGSRC) || */ /* !gst_element_register (plugin, "v4l2mjpegsrc", */ |