diff options
author | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-05-25 20:59:10 +0200 |
---|---|---|
committer | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-05-25 20:59:10 +0200 |
commit | 7b1960c67fb907d4885734c31a41898a9fe6dfa7 (patch) | |
tree | 08a71b25fb926793b7575e70421f58b28ace41aa /v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol-priv.h | |
parent | 2ffc360be1c38ab86399d6d574ee7cc0671c03d6 (diff) | |
download | mediapointer-dvb-s2-7b1960c67fb907d4885734c31a41898a9fe6dfa7.tar.gz mediapointer-dvb-s2-7b1960c67fb907d4885734c31a41898a9fe6dfa7.tar.bz2 |
libv4l: Fix a few small issues with V4L2_CTRL_FLAG_NEXT_CTRL handling
From: Hans de Goede <hdegoede@redhat.com>
libv4l: Fix a few small issues with V4L2_CTRL_FLAG_NEXT_CTRL handling
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol-priv.h')
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol-priv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol-priv.h b/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol-priv.h index 14e4fe838..14481a9a2 100644 --- a/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol-priv.h +++ b/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol-priv.h @@ -24,9 +24,12 @@ #define V4LCONTROL_SHM_SIZE 4096 +#define V4LCONTROL_SUPPORTS_NEXT_CTRL 0x01 + struct v4lcontrol_data { int fd; /* Device fd */ - int flags; /* Special flags for this device */ + int flags; /* Flags for this device */ + int priv_flags; /* Internal use only flags */ int controls; /* Which controls to use for this device */ unsigned int *shm_values; /* shared memory control value store */ unsigned int old_values[V4LCONTROL_COUNT]; /* for controls_changed() */ |