Commit 7fd6dc08 authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

v4l2object: make IO_MODE enum public

This is to allow adding a second io-mode property on M2M device like decoder so
input and output can be controlled separatly.

https://bugzilla.gnome.org/show_bug.cgi?id=720568
parent 203e2451
......@@ -386,8 +386,7 @@ gst_v4l2_tv_norm_get_type (void)
return v4l2_tv_norm;
}
#define GST_TYPE_V4L2_IO_MODE (gst_v4l2_io_mode_get_type ())
static GType
GType
gst_v4l2_io_mode_get_type (void)
{
static GType v4l2_io_mode = 0;
......
......@@ -69,6 +69,9 @@ typedef struct _GstV4l2Xv GstV4l2Xv;
G_BEGIN_DECLS
#define GST_TYPE_V4L2_IO_MODE (gst_v4l2_io_mode_get_type ())
GType gst_v4l2_io_mode_get_type (void);
#define GST_V4L2_OBJECT(obj) (GstV4l2Object *)(obj)
typedef enum {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment