Commit graph

1928 commits

Author SHA1 Message Date
Alex Henrie b3143850c2 quartz/tests: Remove redundant null check from testfilter_JoinFilterGraph.
On Windows, wcsdup(NULL) always returns NULL.
2022-12-05 23:28:03 +01:00
Anton Baskanov 5d8ef3ffe9 quartz/tests: Add tests for MPEG layer-3 decoder quality control.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Anton Baskanov ac83c31e96 quartz/tests: Add tests for MPEG layer-3 decoder streaming events.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Anton Baskanov dce5f731a2 quartz/tests: Add tests for MPEG layer-3 decoder sample timestamps.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Anton Baskanov 54a59330a6 quartz/tests: Add tests for MPEG layer-3 decoder sample processing.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Anton Baskanov 64359796e9 quartz/tests: Add tests for MPEG layer-3 decoder source connection.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-12-01 10:21:35 +01:00
Zebediah Figura 0ad6d68873 quartz: Use a single message thread for all filter graphs.
This matches native, as the test shows, but was motivated by bug 50779, which
it may alleviate.
2022-11-18 12:14:43 +01:00
Anton Baskanov c3cca0d206 winegstreamer: Set allocator properties for MPEG layer-3 decoder source.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=18773
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-15 10:11:51 +01:00
Anton Baskanov d9b9af962b quartz/tests: Add tests for MPEG layer-3 decoder source allocator.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-15 10:11:51 +01:00
Anton Baskanov a9cda37f65 winegstreamer: Implement output media type enumeration in MPEG layer-3 decoder.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=18773
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-15 10:11:51 +01:00
Anton Baskanov 0b4536973f quartz/tests: Add tests for MPEG layer-3 decoder output media type enumeration.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-15 10:11:51 +01:00
Anton Baskanov b3363f5a51 quartz/tests: Add tests for MPEG layer-3 decoder sink allocator.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-15 10:11:51 +01:00
Anton Baskanov 1d636da205 winegstreamer: Reject incompatible output types in MPEG layer-3 decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Anton Baskanov f114e2d354 quartz/tests: Add tests for MPEG layer-3 decoder sink connection.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Anton Baskanov 4489c31b3d winegstreamer: Reject incompatible input media types in MPEG layer-3 decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Anton Baskanov fea3691aea quartz/tests: Add tests for MPEG layer-3 decoder accepted media types.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Anton Baskanov a490e819f8 quartz/tests: Add tests for MPEG layer-3 decoder IEnumMediaTypes.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-11-07 21:16:10 +01:00
Anton Baskanov 359b4efce8 quartz/tests: Add tests for querying MPEG layer-3 decoder pin info.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-10-24 11:12:35 +02:00
Anton Baskanov 86a998e8e9 quartz/tests: Add tests for IBaseFilter_FindPin() on MPEG layer-3 decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-10-24 11:12:35 +02:00
Anton Baskanov 83c2e0db27 quartz/tests: Add tests for IBaseFilter_EnumPins() on MPEG layer-3 decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-10-24 11:12:35 +02:00
Anton Baskanov c7d82489ae quartz/tests: Test MPEG layer-3 decoder unconnected filter state.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-10-24 11:12:35 +02:00
Anton Baskanov ff9ef4efd4 quartz/tests: Add tests for MPEG layer-3 decoder aggregation.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-10-24 11:12:35 +02:00
Anton Baskanov 773dea79b9 quartz/tests: Add tests for MPEG layer-3 decoder interfaces.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-10-24 11:12:34 +02:00
Akihiro Sagawa 45bfd4e1d1 quartz: Fix video flickering. 2022-10-17 11:18:20 +02:00
Akihiro Sagawa ee633870df quartz/tests: Add a background brush test for video renderer. 2022-10-17 11:18:20 +02:00
Alexandre Julliard c738be12e1 quartz/tests: Mark some tests as flaky. 2022-09-26 21:49:54 +02:00
David Gow cf41f6d9b5 quartz: Test: Files opened with FileSource can be deleted.
Some games (such as Digimon Survive) will delete a file while it's open
as a FileSource.

Signed-off-by: David Gow <david@ingeniumdigital.com>
2022-08-10 11:35:22 +02:00
David Gow 9cfd5d00ca quartz: Open files with FILE_SHARE_DELETE in FileSource.
Some games (such as Digimon Survive) create temporary video files and
will hang if deleting them fails. Open the files with FILE_SHARE_DELETE,
which will allow this deletion to go ahead even if the FileSource hasn't
yet been closed.

Note that many windows codec packs do themselves open files without
FILE_SHARE_DELETE, so a similar hang can be observed in some windows
configurations.

I haven't checked that this is the file share mode used on windows
(alas, I don't have a windows machine available), so I haven't removed
the FIXME comment. Equally, I also updated the CreateFileW() call
in get_media_type(), but that _may_ be unnecessary.

Signed-off-by: David Gow <david@ingeniumdigital.com>
2022-08-10 11:35:08 +02:00
Anton Baskanov fb0f6b4be4 quartz/tests: Add tests for MPEG audio decoder quality control.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-05-24 21:22:03 +02:00
Anton Baskanov ea81a48259 winegstreamer: Implement IQualityControl in MPEG audio decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-05-24 21:22:03 +02:00
Anton Baskanov 16d93a32e3 winegstreamer: Add seeking passthrough to MPEG audio decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-05-24 21:22:02 +02:00
Anton Baskanov 32a72b3e78 quartz/tests: Add tests for MPEG audio decoder streaming events.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-05-24 21:22:02 +02:00
Anton Baskanov 50c20cf8cf quartz/tests: Use correct media types in MPEG audio decoder tests.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
2022-05-24 21:22:02 +02:00
Zebediah Figura 2a44723d4d quartz/systemclock: Use timeGetTime() to retrieve the current time.
There is no evidence that the extra overhead should matter, and this allows us
to be consistent, and potentially change timeGetTime() without having to worry
about quartz.

On Windows, timeGetTime() has identical resolution to the interrupt time [i.e.
the "InterruptTime" member of the shared user data, or QueryInterruptTime()].
Like those sources, it approximately measures the boot time. However, the values
are not identical; timeGetTime() lags behind QueryInterruptTime() anywhere from
1 to 12 ms (regardless of timer period) on my Windows 10 virtual machine. The
actual lag is consistent within a process but varies between runs. I have not
been able to account for this lag—it's not the suspend bias, nor is it an
attempt to match the tick count more closely.

In short, timeGetTime() seems to be idiosyncratic to winmm. Since quartz has
been shown to follow winmm exactly on Windows, let's follow it on Wine as well.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53005
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 11:50:18 +02:00
Anton Baskanov 2567ff497d winegstreamer: Set sample timestamps in MPEG audio decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-11 19:33:23 +02:00
Anton Baskanov 5db4b0cff9 quartz/tests: Add tests for MPEG audio decoder sample timestamps.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-11 19:33:23 +02:00
Anton Baskanov bae7ac48bc winegstreamer: Add IMpegAudioDecoder stub to MPEG audio decoder.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50462
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-11 19:33:23 +02:00
Anton Baskanov 6eca6ad686 winegstreamer: Implement Receive() for MPEG audio decoder sink.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-06 12:06:50 +02:00
Anton Baskanov 23fb8a6b49 quartz/tests: Add tests for MPEG audio decoder sample processing.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-06 12:06:50 +02:00
Anton Baskanov b18b7260a2 quartz/tests: Don't fail tests when MPEG audio decoder creation fails.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-06 12:06:50 +02:00
Anton Baskanov f91f434835 winegstreamer: Commit allocator on pause in MPEG audio decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Anton Baskanov 1933981760 quartz/tests: Add tests for MPEG audio decoder source connection.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Anton Baskanov 7c20724b0d quartz/tests: Add tests for MPEG audio decoder source allocator.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Anton Baskanov 562d8c338d winegstreamer: Implement output media type enumeration in MPEG audio decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Anton Baskanov 7d28e8ec89 quartz/tests: Add tests for MPEG audio decoder output media type enumeration.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Anton Baskanov f46618e386 quartz/tests: Add tests for MPEG audio decoder sink allocator.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Anton Baskanov 64b96eec7d winegstreamer: Reject incompatible output types in MPEG audio decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-28 23:03:36 +02:00
Anton Baskanov a7a90de929 quartz/tests: Add tests for MPEG audio decoder sink connection.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-28 23:03:31 +02:00
Anton Baskanov 2298f04a1d winegstreamer: Reject incompatible input media types in MPEG audio decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-28 23:03:27 +02:00
Anton Baskanov f7668a85d1 quartz/tests: Add tests for MPEG audio decoder accepted media types.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 21:45:13 +02:00