diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-11-07 12:45:20 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-11-07 12:45:20 +0000 |
commit | ac872637ab3e94f9ef7d553a40994d1ba43eb80f (patch) | |
tree | ad5aac6f07808c49e78a95d999dd93b5b98efade /sys/v4l2/gstv4l2element.h | |
parent | 122a4ffe5cdda322f093bf07aa5ced07d1c91465 (diff) | |
download | gst-plugins-bad-ac872637ab3e94f9ef7d553a40994d1ba43eb80f.tar.gz gst-plugins-bad-ac872637ab3e94f9ef7d553a40994d1ba43eb80f.tar.bz2 gst-plugins-bad-ac872637ab3e94f9ef7d553a40994d1ba43eb80f.zip |
Add device autodetection
Original commit message from CVS:
Add device autodetection
Diffstat (limited to 'sys/v4l2/gstv4l2element.h')
-rw-r--r-- | sys/v4l2/gstv4l2element.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2element.h b/sys/v4l2/gstv4l2element.h index 23d379e2..a57f66f0 100644 --- a/sys/v4l2/gstv4l2element.h +++ b/sys/v4l2/gstv4l2element.h @@ -51,6 +51,8 @@ (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_V4L2ELEMENT)) #define GST_IS_V4L2ELEMENT_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_V4L2ELEMENT)) +#define GST_V4L2ELEMENT_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_V4L2ELEMENT, GstV4l2ElementClass)) typedef struct _GstV4l2Element GstV4l2Element; @@ -87,6 +89,9 @@ struct _GstV4l2Element { struct _GstV4l2ElementClass { GstElementClass parent_class; + /* probed devices */ + GList *devices; + /* signals */ void (*open) (GstElement *element, const gchar *device); |