Zebediah Figura
6de638eac7
quartz/tests: Rename avisplitter.c to avisplit.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-02-26 15:01:01 +01:00
Zebediah Figura
f3a4b4984e
quartz/tests/filesource: Add tests for IAsyncReader_BeginFlush() and IAsyncReader_EndFlush().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-26 15:01:01 +01:00
Zebediah Figura
4a4eca6e68
quartz/tests/filesource: Add tests for IAsyncReader_Request() and IAsyncReader_WaitForNext().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-26 15:01:01 +01:00
Zebediah Figura
dbca5c5667
quartz/filesource: Remove some incorrect assertions.
...
There's no point checking the sample's time again. Moreover, short reads are
not an error.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-26 15:01:01 +01:00
Zebediah Figura
3d24e7dea9
quartz/filesource: Set the sample length in IAsyncReader_SyncReadAligned().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-26 15:01:01 +01:00
Zebediah Figura
4df6d303d6
quartz/filesource: Correctly report short reads from IAsyncReader_SyncReadAligned().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:29:10 +01:00
Zebediah Figura
653bc4fa1a
quartz/tests/filesource: Add tests for IAsyncReader_SyncReadAligned().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:29:08 +01:00
Zebediah Figura
eccffa4872
quartz/tests: Add tests for IMemAllocator_GetProperties() and IMemAllocator_SetProperties().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:29:05 +01:00
Zebediah Figura
83dc66730e
quartz/tests: Clean up CommitDecommitTest().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:29:01 +01:00
Zebediah Figura
930e0cdc08
quartz/filesource: Correctly report short reads from IAsyncReader_SyncRead().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:28:55 +01:00
Zebediah Figura
5e16cf4c39
quartz/tests/filesource: Add tests for IAsyncReader_SyncRead().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:29:39 +01:00
Zebediah Figura
9e7b8a2f2f
quartz/tests/filesource: Add some tests for filter state.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:29:36 +01:00
Zebediah Figura
59d46d62e6
quartz/tests/filesource: Add some tests for pin interfaces.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:29:33 +01:00
Zebediah Figura
529af77051
quartz/filesource: Return a default media type from FileAsyncReaderPin_GetMediaType().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:29:28 +01:00
Zebediah Figura
a67ad09528
quartz/filesource: Correctly initialize the default media type.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:29:22 +01:00
Zebediah Figura
048474b15e
quartz/filesource: Don't check formattype in FileAsyncReaderPin_CheckMediaType().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-21 16:08:05 +01:00
Zebediah Figura
7c6caa4873
quartz/tests/filesource: Add tests for media types.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-21 16:08:00 +01:00
Zebediah Figura
c2158f7926
quartz/tests/filesource: Add some tests for querying pin information.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-21 16:07:57 +01:00
Zebediah Figura
85ce2157c8
quartz/tests/filesource: Add some tests for IBaseFilter_FindPin().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-21 16:07:54 +01:00
Zebediah Figura
b5cdfb312d
quartz/tests/filesource: Add some tests for IBaseFilter_EnumPins().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-21 16:07:50 +01:00
Sven Baars
889fe31483
quartz: Fix some memory leaks (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-26 11:51:55 +01:00
Brendan McGrath
9f05343013
quartz/filtergraph: Iterate over all source pins in ExploreGraph().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 18:56:59 +02:00
Zebediah Figura
fb6c88e260
quartz/filtergraph: Don't prevent the same filter from being used multiple times in IGraphBuilder_Connect().
...
This reverts part of 6301fec0ef
.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-08 09:31:35 +02:00
Zebediah Figura
2a1cc4330a
quartz/filesource: Don't expose IAMFilterMiscFlags.
...
This reverts 9dedc4a795
.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-27 11:03:41 +02:00
Zebediah Figura
835a9a8153
quartz/tests/filesource: Test interfaces exposed by the file source filter.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-27 11:03:41 +02:00
Zebediah Figura
039525bc0c
quartz/tests: Move file source filter tests to filesource.c.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-27 11:03:41 +02:00
Francois Gouget
d2dbe856d4
quartz/tests: Make testpin_{AddRef,Release}() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-27 10:09:41 +02:00
Zebediah Figura
783c2d66a4
quartz/filtergraph: Check for AM_FILTER_MISC_FLAGS_IS_RENDERER or IMediaSeeking to count renderers.
...
Instead of using IPin_QueryInternalConnections().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-26 16:52:20 +02:00
Zebediah Figura
d65586ea95
quartz/tests/filtergraph: Add some tests for EC_COMPLETE.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-26 16:52:18 +02:00
Zebediah Figura
093a32ec7b
quartz/filtergraph: Implement IMediaControl state functions on top of IMediaFilter.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-26 16:52:15 +02:00
Zebediah Figura
0c0606cd1b
quartz/tests: Add some tests for filter states.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-26 16:52:12 +02:00
Zebediah Figura
12d72c891d
quartz/filtergraph: Also set the default sync source if necessary in IMediaControl_Pause().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-26 16:52:11 +02:00
Zebediah Figura
13a1dfd7c2
quartz/tests: Add some tests for IMediaFilter_SetSyncSource() and IMediaFilter_GetSyncSource().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-26 16:52:09 +02:00
Zebediah Figura
58148a31fc
quartz/filtergraph: Improve HRESULT propagation from IFilterGraph2_Connect().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-25 12:30:20 +02:00
Zebediah Figura
42929b75fc
quartz/filtergraph: Don't recursively render pins whose names begin with ~.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-22 00:02:14 +02:00
Zebediah Figura
c1af822758
quartz/filtergraph: Simplify FilterGraph2_RenderRecurse().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-22 00:02:14 +02:00
Zebediah Figura
1922272225
quartz/filtergraph: Try other output pins if one shouldn't be rendered.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-22 00:02:14 +02:00
Zebediah Figura
009bbfa6a3
quartz/filtergraph: Check pin name instead of id in connect_output_pin().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 19:44:17 +02:00
Zebediah Figura
a638c32753
quartz/filtergraph: Try filters in the graph first in FilterGraph2_Connect().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 19:44:17 +02:00
Zebediah Figura
6eb05abf5f
quartz/filtergraph: Don't use QueryInternalConnections() to find output pins in FilterGraph2_Connect().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 19:44:17 +02:00
Zebediah Figura
2fea063245
quartz/tests: Add some tests for IGraphBuilder_Connect().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 19:44:17 +02:00
Zebediah Figura
54843d8fbf
quartz/tests: Add some tests for IFilterGraph_ConnectDirect() and IFilterGraph_Disconnect().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 18:34:00 +02:00
Zebediah Figura
2da49669f9
quartz/tests: Get rid of test_graph_builder().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 18:21:01 +02:00
Zebediah Figura
5f0bb5bd34
quartz/tests: Add some tests for IFilterGraph_FindFilterByName().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 18:20:53 +02:00
Zebediah Figura
9ed4b1f7f8
quartz/filtergraph: Unset the name of a removed filter.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 18:20:47 +02:00
Zebediah Figura
e0b98935d4
quartz/tests: Add some tests for IFilterGraph_Add/RemoveFilter().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 18:20:41 +02:00
Zebediah Figura
45e618162d
quartz/tests: Test interfaces exposed by the filter graph.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 18:20:26 +02:00
Zebediah Figura
f2a8d53580
quartz/tests: Rewrite test_render_filter_priority().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-18 20:59:38 +02:00
Zebediah Figura
2230834022
quartz/filtergraph: Use a linked list to store filters.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-18 20:59:38 +02:00
Zebediah Figura
84255df720
quartz/filtergraph: Pass an IFilterGraphImpl to create_enum_filters().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-18 20:59:38 +02:00