[mythtv] [FIX] V4L2 controls

steve at nexusuk.org steve at nexusuk.org
Sat Jan 3 13:26:12 EST 2004


I just upgraded my BTTV driver to version 0.9.12 and my 
brightness/contrast/colour/etc controls stopped working.  It looks like 
they've changed the value of VIDIOC_S_CTRL.  In 
libs/libmythtv/videodev2_myth.h it's defined as:
    #define VIDIOC_S_CTRL       _IOR  ('V', 28, struct v4l2_control)

Changing it to:
    #define VIDIOC_S_CTRL       _IOWR  ('V', 28, struct v4l2_control)
makes it work again.

-- 

 - Steve                                             http://www.nexusuk.org/

     Servatis a periculum, servatis a maleficum - Whisper, Evanescence



More information about the mythtv-dev mailing list