Commit Graph

28 Commits

Author SHA1 Message Date
Eric Pouech c55079fefb avicap32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-08 10:46:53 +01:00
Gijs Vermeulen b755d58b13 avicap32: Partially implement capCreateCaptureWindowW.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38011
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-02 10:23:38 +02:00
Zebediah Figura abb17573ce avicap32: Build with msvcrt.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-02 10:23:35 +02:00
Martin Storsjo b10cdce31d avicap32: Fix compilation with older videodev2.h.
Older videodev2.h lack the V4L2_CAP_DEVICE_CAPS define and
the device_caps field in the v4l2_capability struct.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Damjan Jovanovic 862566a2b0 avicap32: Verify v4l devices can capture before returning them.
/dev/video* device nodes aren't all capture devices, and returning
those that aren't results in devenum reporting them to
applications, which will later fail when opening them with
IMoniker::BindToObject().

avicap32 already tries to call VIDIOC_QUERYCAP to check whether
it's dealing with a v4l device, but it does not check a successful
result any further. Get it to verify the device supports the
V4L2_CAP_VIDEO_CAPTURE flag, like we do in qcap/v4l.c.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-26 16:36:31 +02:00
Michael Stefaniuc 4d2ea61a21 avicap32: Add "stub" to the FIXME in a no yet implemented function. 2012-02-23 17:40:25 +01:00
Francois Gouget c7cb3e6cb2 configure: Use errno.h instead of the non-standard sys/errno.h header. 2011-12-15 17:46:38 +01:00
Rafał Mużyło 898d8abc16 avicap32: Drop v4l1 support. 2011-07-14 21:54:46 +02:00
Rob Shearman 03812357db avicap32: Fix the type of retval in capGetDriverDescriptionA. 2008-02-25 13:29:14 +01:00
Andrew Talbot 80bf297ad7 avicap32: Exclude unused header. 2007-04-23 19:59:42 +02:00
Francois Gouget 9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Michael Stefaniuc 41dd56cb7f "One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int. 2006-09-29 16:09:24 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard cbca5f2297 Fixed gcc 4.0 warnings. 2005-09-12 15:32:50 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Maarten Lankhorst 888eaae74c Implemented capGetDriverDescription. 2005-04-27 09:46:25 +00:00
Alexandre Julliard 20c169e0a4 Fixed a few more headers dependency issues. 2003-09-09 19:39:31 +00:00
Francois Gouget ae50013017 Fix the case of product and company names. 2003-09-08 19:38:45 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Stefan Leichter 16377936e2 Added stubs for capCreateCaptureWindowA/W to get freeVCR started
without crash.
2002-10-07 21:43:13 +00:00
Dmitry Timoshkov 72db9a2046 Added stubs for capGetDriverDescription. 2002-06-13 21:38:52 +00:00
Alexandre Julliard 140e7222e0 Removed more code at Hidenori's request. 2002-05-05 19:40:57 +00:00
Patrik Stridvall f89d4a8673 Fixed some issues found by winapi_check. 2002-03-23 21:39:05 +00:00
Hidenori Takeshima 4df788225f Added stubs. 2002-03-19 02:07:40 +00:00
Hidenori Takeshima 1c53a7fc47 Added stubs for msrle32.dll and implemented RLE8 decoder.
Added stub for avicap32.
2001-11-06 00:41:05 +00:00