Commit Graph

71 Commits

Author SHA1 Message Date
Michael Stefaniuc 69e612c512 mciavi32: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 12:33:31 +02:00
Alexandre Julliard 3e95920286 mciavi32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 10:58:05 +02:00
Bruno Jesus 08af837a8c mciavi32: Add Support for MCI_MCIAVI_PLAY_FULLSCREEN.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=15934
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:28 +02:00
Bruno Jesus c59dcfa502 mciavi32: Implement MCI_BREAK.
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 19:43:08 +01:00
Bruno Jesus d3c25df824 mciavi32: Trace MCIAVI_CreateWindow.
Also normalize the parms parameter name like other functions

Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 19:43:03 +01:00
Zebediah Figura 1b57f07a61 mciavi32: Report version as 1.1.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-28 20:40:01 +01:00
Michael Stefaniuc 9fd4429d49 mciavi32: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:18:34 +09:00
Kirill K. Smirnov ed79f45817 mciavi32: Propely handle Heap[Re]Alloc failure.
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-14 14:39:51 +09:00
Bruno Jesus c5e281d0d2 mciavi32: Detect Indeo video frames as valid frames. 2015-09-18 14:58:14 +02:00
Bruno Jesus ab4460a382 mciavi32: Start playing from frame 0 instead of 1. 2015-09-18 14:58:08 +02:00
Bruno Jesus 1862c38f7d mciavi32: Make a debug message more clear. 2015-09-18 14:58:04 +02:00
Bruno Jesus 1c82aca1d4 mciavi32: Add partial support for MCI_DGV_PLAY_REPEAT. 2015-08-31 14:49:48 +09:00
Bruno Jesus 47554b8c63 mciavi32: Initialize a variable (Cppcheck). 2014-11-03 16:32:13 +09:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Jörg Höhle 42bdb48c67 mciavi: Fix player deadlock when starting to play. 2012-11-13 17:03:15 +01:00
Andrew Eikum b0312eab92 mciavi32: Advance video frames based on frame duration, not audio sample rate. 2012-08-16 11:40:55 +02:00
Marcus Meissner fb48414419 mciavi32: Mark internal symbols with hidden visibility. 2011-05-20 10:32:51 +02:00
Jörg Höhle 3412b41924 mciavi: MCI_OPEN @NNNN should use an open AVIFile/Stream handle. 2010-11-15 15:04:06 +01:00
Jörg Höhle bad21ebe76 winmm: Use MCI_HWND and MCI_HDC in resource files. 2010-11-12 15:43:08 +01:00
Jörg Höhle 22055590f6 winmm: MCI_INFO doesn't change the output buffer in case of error. 2010-11-02 12:45:31 +01:00
Alexandre Julliard 9387810dab winmm: Make MCI_STATUS return type a 64-bit integer on 64-bit platforms.
Based on a patch by Octavian Voicu.
2010-09-29 20:17:01 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Octavian Voicu 7f5e835c14 winmm: Replace command ids with symbolic constants in mci command resources. 2010-09-02 11:53:09 +02:00
Octavian Voicu 3324614ed3 winmm: Replace return types with symbolic constants in mci command resources. 2010-09-02 11:51:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Jörg Höhle 594a70f550 winmm: Have MCI drivers handle notification for MCI_OPEN.
All notifications are handled locally by the drivers.
2010-05-20 16:25:44 +02:00
Michael Stefaniuc cea6f01cd9 mciavi32: Remove redundant "not NULL" checks of the lpParms arg. 2010-05-17 12:42:33 +02:00
Jörg Höhle 33d1e593aa mciavi: Stubs should return a success code.
Partly reverts my commit 3e5c704e7a.
2010-03-16 17:20:34 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Jörg Höhle 22569e6dce mciavi: Prevent deadlock when closing while playing or when paused. 2010-03-15 15:07:26 +01:00
Jörg Höhle cbb46ec83c mciavi: Support more MCI_STATUS queries. 2010-02-12 15:52:26 +01:00
Jörg Höhle 541c6c2d97 mciavi: Step is like Seek. 2010-02-12 15:52:26 +01:00
Jörg Höhle 14c9f6a3cb mciavi: Support the MCI_TEST flag.
Some apps send each command twice: first with MCI_TEST, then without.

Actually, support is more complex: MCI_TEST acts per flag, not for
the whole command, e.g. "status audio source test" fails
while "status audio stream test" is supported.
2010-02-12 15:52:26 +01:00
Jörg Höhle 3e5c704e7a mciavi: Use MCIERR_UNSUPPORTED_FUNCTION, not 0 (NOERROR). 2010-02-12 15:52:26 +01:00
Jörg Höhle a34831df13 mciavi: First check inputs, then (perhaps) stop and act. 2010-02-12 15:52:26 +01:00
Jörg Höhle 4ed7cb8656 mciavi: Do not stub unsupported recording or editing functions.
Native does not announce CAN SAVE / RECORD / LOCK capabilities either.
2009-12-18 14:03:12 +01:00
Jörg Höhle e03b59c6a1 mciavi: Complete MCI GetDevCaps/capability.
The FIXME comments indicate flags where Wine differs from native w2k.
The returned results are consistent with what Wine implements.
2009-12-18 14:02:21 +01:00
Jörg Höhle f47ea4681f mciavi: Simplify play loop. 2009-12-01 15:13:41 +01:00
Marcus Meissner 961e88f756 mciavi32: Removed duplicate strlen/NULL check (Coverity). 2009-11-10 14:38:18 +01:00
Vincent Povirk 075ff23394 mciavi32: Remove unnecessary string buffers in MCIAVI_mciSet. 2009-04-15 15:55:55 -05:00
Kirill K. Smirnov e66e489417 mciavi32: Fix typo. 2009-03-24 13:54:18 +01:00
Christian Costa c51ef12b17 mciavi: Don't wait for events we don't handle. 2009-01-19 14:23:43 +01:00
Christian Costa 2322a06dd6 mciavi: In MCI, RECT structure is used differently: rc.right = width & rc.bottom = height so do the conversion when needed. 2009-01-12 14:37:12 +01:00
Christian Costa 2f913efa83 mciavi: Implement MCI_DGV_PUT_WINDOW in MCIAVI_mciPut. 2009-01-02 12:55:52 +01:00
Anders Jonsson bd0b00c92b mciavi32: Fix typo. 2008-12-23 19:56:20 +01:00
Alexandre Julliard 760f9bf3ed mciavi32: Make a function static. 2008-12-04 12:47:42 +01:00
Dmitry Timoshkov 1e942d6b1f mciavi32: Read the stream header in order to determine its type. 2008-06-25 20:28:17 +02:00
Andrew Talbot 6bb8525630 mciavi32: Remove unused variables. 2008-04-21 12:10:37 +02:00
Andrew Talbot 4c656d8802 mciavi32: Assign to struct instead of using memcpy. 2008-03-05 11:21:11 +01:00
Rob Shearman 5838185133 mciavi32: Fix the buffer length passed into strncat in MCIAVI_mciSet.
The number of remaining characters should be passed in, not the total 
buffer size.
2008-02-25 13:31:19 +01:00