Elizabeth Figura
cee5224bf4
amstream: Link to msvcrt instead of ucrtbase.
...
It links to strmbase, which is built against msvcrt.
2024-05-14 18:28:20 +02:00
Paul Gofman
1d3b312f22
amstream: Force debug info in critical sections.
2024-02-29 21:22:28 +01:00
Paul Gofman
ce2457d5a9
amstream: Avoid leaking critical section debug info in filter_Release().
2024-02-29 21:22:27 +01:00
Anton Baskanov
71293a018f
amstream: Send quality control messages from AMDirectDrawStream::Receive.
2023-12-05 21:24:36 +01:00
Anton Baskanov
cf931159d1
amstream/tests: Add quality control tests.
2023-12-05 21:24:36 +01:00
Anton Baskanov
a69c7a8aa0
amstream: Use correct index in MediaStreamFilter's IEnumPins::Next().
2023-11-27 22:39:52 +01:00
Anton Baskanov
150463b39b
amstream/tests: Test IEnumPins with two streams.
2023-11-27 22:39:52 +01:00
Alexandre Julliard
7ccb5df0fc
makefiles: Always use the global SOURCES variable for .rc files.
2023-11-01 22:43:56 +01:00
Alexandre Julliard
c432eac726
makefiles: Always use the global SOURCES variable for .idl files.
2023-11-01 22:43:50 +01:00
Zebediah Figura
70dc4a6a1d
amstream/tests: Fix a leak in test_ddrawstream_begin_flush_end_flush().
2023-07-24 12:09:10 +02:00
Zebediah Figura
97d7d32191
amstream: Release the previous ddraw in ddraw_IAMMediaStream_Initialize().
2023-07-24 12:09:10 +02:00
Alexandre Julliard
26d954678a
amstream: Use nameless unions/structs.
2023-07-12 19:01:13 +02:00
Alistair Leslie-Hughes
50fab83bb9
amstream: Remove DECLSPEC_HIDDEN usage.
2023-07-05 10:09:09 +02:00
Zebediah Figura
c71ac52389
amstream: Use CRT memory allocators.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-28 10:11:48 +02:00
Eric Pouech
78b6f417f9
amstream/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Zebediah Figura
4e610a078a
amstream/tests: Use CoCreateInstance() directly instead of BaseOutputPinImpl_InitAllocator().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-08 10:47:38 +01:00
Eric Pouech
71e90100bf
amstream: 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:25 +01:00
Zebediah Figura
2552a48436
amstream/tests: Use IMemAllocator::GetBuffer() directly.
...
BaseOutputPinImpl_GetDeliveryBuffer() is doing nothing helpful here.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 10:57:56 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Zebediah Figura
73ee53813c
amstream: Trace some format fields in IDirectDrawMediaStream::SetFormat().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-07 11:57:08 +01:00
Zebediah Figura
507853c7b8
include: Do not include wine/list.h in wine/strmbase.h.
...
Nothing in strmbase.h uses list.h anymore.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-30 10:28:42 +01:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Michael Stefaniuc
9a1e0edf65
amstream/tests: Actually test the return of IMediaFilter_SetSyncSource.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 22:10:02 +02:00
Zebediah Figura
157a84a1f6
amstream: Switch to the quartz debug channel.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-10 15:39:07 +02:00
Gijs Vermeulen
3319526fda
amstream: Handle AMMSF_RENDERALLSTREAMS in IAMMultiMediaStream::OpenFile().
...
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-07-01 22:34:31 +02:00
Gijs Vermeulen
5514dbc293
amstream/tests: Clarify flags passed to IAMMultiMediaStream::OpenFile().
...
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-07-01 22:34:31 +02:00
Alexandre Julliard
af34af7bac
amstream: Avoid wcsncpy().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-04 21:33:14 +02:00
Alexandre Julliard
5d82baf974
winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard
bd6b53740c
winecrt0: Add a default implementation for DllCanUnloadNow().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Anton Baskanov
b8a646f499
amstream: Support the event parameter in IDirectDrawStreamSample::Update.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50628
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-21 21:00:33 +02:00
Anton Baskanov
3088ce35cb
amstream/tests: Add a test for event parameter of IDirectDrawStreamSample::Update.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-21 21:00:33 +02:00
Anton Baskanov
c19fb3d70d
amstream: Implement AMMultiMediaStream::GetEndOfStreamEventHandle.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=34746
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-21 21:00:33 +02:00
Anton Baskanov
ba44377fe8
amstream/tests: Add tests for AMMultiMediaStream::GetEndOfStreamEventHandle.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-21 21:00:33 +02:00
Anton Baskanov
1917fe0e07
amstream: Call IMediaStreamFilter::Flush in IPin::BeginFlush.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-20 22:57:11 +02:00
Anton Baskanov
35fc7319e2
amstream/tests: Test that streams call IMediaStreamFilter::Flush in IPin::BeginFlush.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-20 22:57:11 +02:00
Anton Baskanov
9a0027dbba
amstream: Call IMediaStreamFilter::EndOfStream when streams receive EOS.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-20 22:57:11 +02:00
Anton Baskanov
1296b0efb5
amstream/tests: Test that streams call IMediaStreamFilter::EndOfStream.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-20 22:57:11 +02:00
Anton Baskanov
eea53b3c40
amstream: Implement MediaStreamFilter::EndOfStream.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-12 19:33:48 +02:00
Anton Baskanov
4fb348315f
amstream/tests: Add more tests for IMediaStreamFilter::EndOfStream.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-12 19:32:15 +02:00
Anton Baskanov
ac65e15409
amstream/tests: Add tests for MediaStreamFilter::EndOfStream.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-07 22:36:12 +02:00
Anton Baskanov
ad61b39283
amstream/tests: Refactor test graph to support multiple interfaces.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-07 22:36:12 +02:00
Jacek Caban
d614d04833
amstream/tests: Move WINE_NO_NAMELESS_EXTENSION to source file.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 09:24:52 +02:00
Jacek Caban
b39b9eea39
include: Don't default to WINE_NO_NAMELESS_EXTENSION for Wine build.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 21:48:38 +01:00
Zebediah Figura
690afb42f6
strmbase: Rename csFilter to filter_cs.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-19 08:52:32 +01:00
Zebediah Figura
402532b3fd
amstream/tests: Define NONAMELESSUNION.
...
Old versions of gcc allow nameless unions, but can't parse them in designated initializers.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50378
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 21:08:14 +01:00
Zebediah Figura
6e6d73b818
amstream/tests: Commit the allocator directly.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-18 10:48:20 +01:00
Anton Baskanov
a103368917
amstream: Implement AMMultiMediaStream::GetTime.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-18 10:47:57 +01:00
Anton Baskanov
23cbd7f591
amstream: Implement AMMultiMediaStream::GetState.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-18 10:47:55 +01:00
Anton Baskanov
16874608d6
amstream: Implement MediaStreamFilter::IsFormatSupported.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-18 10:47:52 +01:00
Anton Baskanov
826164c127
amstream: Factor out the common code of MediaStreamFilter seeking tests.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-18 10:47:30 +01:00