diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c index 32c2c02512..57ea09fe37 100644 --- a/dlls/qcap/v4l.c +++ b/dlls/qcap/v4l.c @@ -585,14 +585,17 @@ Capture * qcap_driver_init( IPin *pOut, USHORT card ) if (!(caps.capabilities & V4L2_CAP_READWRITE)) { - WARN("Device does not support read().\n"); - if (!have_libv4l2) + if (have_libv4l2) + WARN("Device %s doesn't natively support read(), emulating it with libv4l2.\n", path); + else + { #ifdef SONAME_LIBV4L2 - ERR_(winediag)("Reading from %s requires libv4l2, but it could not be loaded.\n", path); + ERR_(winediag)("Device %s doesn't natively support read(), and emulation requires libv4l2, but it could not be loaded.\n", path); #else - ERR_(winediag)("Reading from %s requires libv4l2, but Wine was compiled without libv4l2 support.\n", path); + ERR_(winediag)("Device %s doesn't natively support read(), and emulation requires libv4l2, but Wine was compiled without libv4l2 support.\n", path); #endif - goto error; + goto error; + } } format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;