Commit Graph

1252 Commits

Author SHA1 Message Date
Zebediah Figura 5811cac5c2 quartz/systemclock: Avoid a use-after-free (Coverity).
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:22 +02:00
Zebediah Figura ea30abde18 quartz/tests: Add tests for VMR9 pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 09:59:29 +02:00
Zebediah Figura 409c60f95c quartz/tests: Fix some VMR9 test failures.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 09:59:29 +02:00
Zebediah Figura 43f549fdcd quartz/tests: Add tests for querying VMR9 pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 16:58:59 +02:00
Zebediah Figura 57df3a452c quartz/tests: Add tests for IBaseFilter::FindPin() on the VMR9 filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 16:58:59 +02:00
Zebediah Figura b6b78db30d quartz/tests: Add tests for IBaseFilter::EnumPins() on the VMR9 filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 16:58:59 +02:00
Zebediah Figura 8233e1166f quartz/tests: Add tests for VMR9 filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 16:58:59 +02:00
Zebediah Figura 957111ef0a quartz/tests: Add tests for IVMRFilterConfig9 on the VMR9 filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 16:58:59 +02:00
Zebediah Figura a2f60aaa83 quartz/tests: Add tests for VMR7 pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 09:40:03 +02:00
Zebediah Figura 3fb152ab39 quartz/tests: Add tests for querying VMR7 pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 09:40:00 +02:00
Zebediah Figura 42f70a79d6 quartz/tests: Add tests for IBaseFilter::FindPin() on the VMR7 filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 09:39:58 +02:00
Zebediah Figura 08d91f6d71 quartz/tests: Add tests for IBaseFilter::EnumPins() on the VMR7.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 09:39:53 +02:00
Zebediah Figura cc72000170 quartz/tests: Add tests for VMR7 filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 09:39:49 +02:00
Zebediah Figura edf1e7696f quartz/vmr9: Implement IVMRFilterConfig::SetRenderingMode().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42372
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 11:51:56 +02:00
Zebediah Figura e4b58b450b quartz/vmr9: Avoid unloading d3d9 while holding d3d9 objects.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 11:51:56 +02:00
Zebediah Figura 0efaac5108 quartz/tests: Add tests for IVMRFilterConfig on the VMR7.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 11:51:56 +02:00
Zebediah Figura 90114c4adf quartz/tests: Link to strmiids and uuid.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 11:51:56 +02:00
Zebediah Figura 3f5ab4c06c quartz/tests: Add some tests for video renderer media types.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 11:51:56 +02:00
Zebediah Figura 8ec29106b3 quartz/tests: Add some tests for video renderer pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 11:32:52 +02:00
Zebediah Figura d1ce610e81 quartz/tests: Add some tests for querying video renderer pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 11:32:48 +02:00
Zebediah Figura 70803a4d22 quartz/tests: Add some tests for IBaseFilter_FindPin() on the video renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 11:32:44 +02:00
Zebediah Figura 146c188477 quartz/tests: Add some tests for IBaseFilter_EnumPins() on the video renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 11:32:40 +02:00
Zebediah Figura d8f54a7104 quartz/tests: Clean up tests for video renderer filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 11:32:35 +02:00
Michael Stefaniuc b7ce2fc508 quartz: Remove useless casts to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 19:50:06 +01:00
Zebediah Figura f55e90a508 quartz/systemclock: Get rid of the SystemClockImpl typedef.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:11:17 +01:00
Zebediah Figura 6f3238168e quartz/systemclock: Clean up the remaining IUnknown methods.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:11:14 +01:00
Zebediah Figura 1ecf2bf129 quartz/systemclock: Store all the sinks in a single list.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:11:07 +01:00
Zebediah Figura 76e6fc92f9 quartz/systemclock: Avoid using the sink structure pointer as a cookie.
The same pointer address may be allocated to multiple different structures.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:11:03 +01:00
Zebediah Figura ba5a6436f8 quartz/systemclock: Clarify some field names.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:00:57 +01:00
Zebediah Figura b5eff130a7 quartz/systemclock: Also wake the semaphore at the given start time.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:00:55 +01:00
Zebediah Figura 9ff0c09e38 quartz/systemclock: Simplify notifying the advise thread.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:00:47 +01:00
Zebediah Figura 0467b96c4f quartz/systemclock: Use GetTickCount64() directly.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:00:45 +01:00
Zebediah Figura d7e9563b15 quartz/systemclock: Use the standard linked list implementation.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:00:39 +01:00
Zebediah Figura fa26231748 quartz/systemclock: Use the global HeapAlloc() wrappers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 00:31:00 +01:00
Zebediah Figura b789c44bea quartz/tests: Add some tests for advising from system clock.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 00:30:58 +01:00
Zebediah Figura 94063ac1f8 quartz/tests: Add a missing call to ITypeInfo_ReleaseTypeAttr().
Spotted by Nikolay Sivov.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 00:30:55 +01:00
Zebediah Figura 3befa57d6a quartz/tests: Fix static link to GetTickCount64().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 00:30:53 +01:00
Zebediah Figura 9068ad0f09 quartz/systemclock: Simplify SystemClockImpl_GetTime().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Zebediah Figura 8907220c5a quartz/tests: Rewrite test_IReferenceClock_methods().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Zebediah Figura c3e4b3a30e quartz/tests: Clean up test_IReferenceClock_query_interface().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Zebediah Figura a71e6442f8 quartz/tests: Rename referenceclock.c to systemclock.c.
To match the Wine source file.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Zebediah Figura 3b8770df8d quartz/tests: Add some tests for IBasicAudio on the DirectSound renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Michael Stefaniuc 91b53147f1 quartz: Remove an unused return variable (coccinelle).
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 21:36:09 +01:00
Zebediah Figura 6f81d51e38 quartz/tests: Add some tests for DirectSound renderer pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura e657ea662f quartz/tests: Add some tests for querying DirectSound renderer pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura 18fe24ae08 quartz/tests: Add some tests for IBaseFilter_FindPin() on the DirectSound renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura 4f16a137da strmbase: Correct pin IDs for renderers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura 294af5ee91 quartz/tests: Add some tests for IBaseFilter_EnumPins() on the DirectSound renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura cbb7fd5256 quartz/tests: Clean up test_query_interface().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura fd2412fbe5 quartz/tests: Clean up tests for IPersistPropertyBag on the DirectSound renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00