[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#378299: linux-kernel-headers: videodev.h:204: error: 'VIDEO_MAX_FRAME' was not declared in this scope



reassign 378299 camstream
quit

> > /usr/include/linux/videodev.h:204: error: 'VIDEO_MAX_FRAME' was not declared in this scope
> > make[3]: *** [VideoSettingsDlg.moc.o] Error 1

camstream is using a hack to prevent videodev2.h from being included.
If videodev.h were included, it would define VIDEO_MAX_FRAME to 32.
Therefore I suggest 

 #define __LINUX_VIDEODEV2_H
+#define VIDEO_MAX_FRAME 32
 #include <linux/videodev.h>

in
camstream/devices/VideoDevice.h



Reply to: