Guest User

eViacam V4L2 Fix

a guest
Sep 12th, 2013
102
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- creavision/libwebcam/libwebcam.c.orig   2013-05-30 18:59:07.000000000 +0200
  2. +++ creavision/libwebcam/libwebcam.c    2013-09-12 10:16:36.047604026 +0200
  3. @@ -2137,8 +2137,6 @@
  4.         case V4L2_CID_GAIN:                 return CC_GAIN;
  5.         case V4L2_CID_HFLIP:                break;  // not supported by libwebcam
  6.         case V4L2_CID_VFLIP:                break;  // not supported by libwebcam
  7. -       case V4L2_CID_HCENTER:              break;  // deprecated
  8. -       case V4L2_CID_VCENTER:              break;  // deprecated
  9.  #ifdef V4L2_CID_POWER_LINE_FREQUENCY
  10.         case V4L2_CID_POWER_LINE_FREQUENCY:     return CC_POWER_LINE_FREQUENCY;
  11.  #endif
RAW Paste Data