pull/1/head
Timothy Pearson 12 years ago
parent fed3c63c9f
commit d573a253c1

@ -19,3 +19,25 @@ fi
AC_MSG_RESULT($ac_have_libv4l1_videodev_h)
# -- End libv4l1-videodev.h ----------------------------------------------
# -- Check for installed videodev headers --------------------
AC_MSG_CHECKING([for videodev.h])
AC_TRY_COMPILE([
#include <linux/videodev.h>
],
[
],
ac_have_videodev_h=yes
,
ac_have_videodev_h=no
)
if test $ac_have_videodev_h = yes; then
AC_DEFINE(HAVE_LINUX_VIDEODEV_H, 1, [Define if you have videodev.h installed])
fi
AC_MSG_RESULT($ac_have_videodev_h)
# -- End videodev ----------------------------------------------

@ -2237,7 +2237,11 @@ TQString VideoDevice::pixelFormatName(int pixelformat)
int VideoDevice::detectPixelFormats()
{
#if defined(__linux__) && defined(ENABLE_AV)
#ifdef V4L2_CAP_VIDEO_CAPTURE
int err = 0;
#endif
#endif
switch(m_driver)
{
#if defined(__linux__) && defined(ENABLE_AV)

@ -295,11 +295,11 @@ public:
void enumerateMenu (void);
#endif
#ifndef ENABLE_AV
#ifdef ENABLE_AV
struct video_capability V4L_capabilities;
struct video_buffer V4L_videobuffer;
#endif
#endif
#endif
TQValueVector<Kopete::AV::VideoInput> m_input;
TQValueVector<Kopete::AV::VideoControl> m_control;
// TQFile file;

Loading…
Cancel
Save