vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Oct 2 13:40:28 2011 +0300| [adcc3cca8661b6a55c0a9eef8b6988701984410f] | committer: Rémi Denis-Courmont
Avoid V4L2 enum as they depend on header versions This should fix the warning about 8 not being a valid control type. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=adcc3cca8661b6a55c0a9eef8b6988701984410f --- modules/access/v4l2/controls.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/access/v4l2/controls.c b/modules/access/v4l2/controls.c index 2f34456..9055f02 100644 --- a/modules/access/v4l2/controls.c +++ b/modules/access/v4l2/controls.c @@ -84,7 +84,7 @@ struct vlc_v4l2_ctrl { int fd; uint32_t id; - enum v4l2_ctrl_type type; + uint8_t type; char name[32]; int32_t default_value; struct vlc_v4l2_ctrl *next; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
