mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
This commit is contained in:
parent
203e245134
commit
7fd6dc08b9
2 changed files with 4 additions and 2 deletions
|
@ -386,8 +386,7 @@ gst_v4l2_tv_norm_get_type (void)
|
||||||
return v4l2_tv_norm;
|
return v4l2_tv_norm;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define GST_TYPE_V4L2_IO_MODE (gst_v4l2_io_mode_get_type ())
|
GType
|
||||||
static GType
|
|
||||||
gst_v4l2_io_mode_get_type (void)
|
gst_v4l2_io_mode_get_type (void)
|
||||||
{
|
{
|
||||||
static GType v4l2_io_mode = 0;
|
static GType v4l2_io_mode = 0;
|
||||||
|
|
|
@ -69,6 +69,9 @@ typedef struct _GstV4l2Xv GstV4l2Xv;
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
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)
|
#define GST_V4L2_OBJECT(obj) (GstV4l2Object *)(obj)
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
Loading…
Reference in a new issue