Commit Graph

1143 Commits

Author SHA1 Message Date
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
Zebediah Figura 0ac31b8a62 quartz: Merge enumfilters.c into filtergraph.c.
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 f371176eb7 quartz/filtergraph: Factor out find_filter_by_name().
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 e912f35f68 quartz/tests: Add some tests for IFilterGraph_EnumFilters().
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 06c5e950b1 quartz/filtergraph: Return correct interface for IID_IGraphVersion.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:40:56 +02:00
Zebediah Figura 702e4a4ca1 quartz: Return E_NOTIMPL from IBasicAudio methods if no filter supporting IBasicAudio is attached.
Based on a patch by Alistair Leslie-Hughes.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45366
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 10:28:28 +02:00
Zebediah Figura 0649ba6629 quartz/tests: Add some tests for interfaces delegated by the filter graph.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 10:28:28 +02:00
Alexandre Julliard fc79250ff7 quartz: Remove some unnecessary casts.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:07 +02:00
Alex Henrie 24703e4cd6 quartz: Rewrite add_data with CoTaskMemRealloc and error handling.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:07 +02:00
Alex Henrie a4522d00df quartz: Use wine_dbgstr_longlong in WAVEParserImpl_seek.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:05:51 +02:00
Alex Henrie 9a70bb5275 quartz: Remove redundant if clause from WAVEParser_InputPin_PreConnect.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:05:45 +02:00
Michael Stefaniuc 53c80a2bd1 quartz: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 22:36:06 +02:00
Zebediah Figura d88218324b quartz: Use CBaseFilter::FindPin().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:27 +02:00
Michael Stefaniuc e7bcc1193a quartz: Use the more common ARRAY_SIZE spelling.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-05 19:08:34 +02:00
Zebediah Figura 1105d0bafb quartz: Inline copying pin info and update comment.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-05 19:08:34 +02:00
Marcus Meissner 105e3c4340 quartz: StringFromGUID2 gets character counts, not bytes.
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 10:48:24 +02:00
Zebediah Figura c282e9d4b5 include: Make fil_data.idl a common header.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 16:39:44 +02:00
Michael Stefaniuc 091c771582 quartz/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 11:41:59 +02:00
Zebediah Figura 10ff8f3082 strmbase: Implement QueryAccept() on top of CheckMediaType() for output pins too.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-04 11:01:40 +02:00
Zebediah Figura 5e19a64bc8 quartz: Call interface methods properly.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 11:11:34 +02:00
Zebediah Figura 5b4a18283b devenum: Register legacy AM filters as devenum codecs, not through FilterMapper2.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 20:59:15 +01:00
Zebediah Figura afe14ab9b0 quartz: Don't fail if the filter CLSID doesn't exist.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-09 10:40:44 -06:00