Commit Graph

197 Commits

Author SHA1 Message Date
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 e5db13a8c8 quartz: Fix a use-after-free in FilterGraph2_Connect().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 10:28:12 +01:00
Zhenbo Li 1f765fb0bb quartz: Remove an unnecessary if.
Signed-off-by: Zhenbo Li <litimetal@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-20 19:25:41 +01:00
Andrew Eikum e2a4974f39 quartz: Downgrade FIXME->WARN.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 10:37:20 +01:00
Andrew Eikum c6a4811edf quartz: Clean up another trace for consistency.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 10:37:17 +01:00
Akihiro Sagawa 478feea23c quartz: Keep This/iface order in TRACEs for consistency.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-05 16:11:00 +01:00
Nikolay Sivov 5cdb0b5842 quartz: Use wine_dbgstr_longlong() to trace REFERENCE_TIME.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-25 19:50:26 +01:00
Andrew Eikum 4fefafe5cd quartz: Clarify debug strings.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:49:02 -07:00
Michael Stefaniuc fd99282319 quartz: There is no point in tracing the GUID pointer too.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:22:52 +09:00
Anton Baskanov f253e6cf93 quartz: Set the result to 1.0 in FilterGraph::GetRate.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:04 +09:00
Anton Baskanov e4dbaeebbd quartz: Handle NULL target format in FilterGraph::ConvertTimeFormat.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:05 +09:00
Nikolay Sivov ed65fc7ced quartz: Explicitly compare to HRESULT values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-03 20:04:35 +01:00
Thomas Faber 3b48ba6c1d quartz: Don't cache IFilterMapper2 interface in FilterGraph2.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:09:04 +01:00
Thomas Faber b700634b0c quartz: Fix IEnumMoniker reference leak in FilterGraph2_Connect.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 01:28:31 +09:00
Qian Hong 8254058cbb quartz: Fix error code when checking circular connection.
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 20:03:24 +09:00
Qian Hong 682291fb71 quartz: Fix crashing when connect to NULL Pin.
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 20:03:14 +09:00
Nikolay Sivov 5120fa9090 quartz: Implement a trivial case of ConvertTimeFormat(). 2015-05-18 14:06:34 +09:00
Aidan Thornton 1f7683777b quartz: Implement IFilterGraph2::AddSourceFilterForMoniker. 2014-12-17 19:36:35 +01:00
Nikolay Sivov b5cd477523 quartz: Use V_* macros to access variant members. 2014-09-03 11:21:53 +02:00
Nikolay Sivov 44818ce0f9 quartz: Check GetCurFile() return value (Coverity). 2014-04-14 10:25:51 +02:00
Michael Stefaniuc bacd9abbc0 quartz: Cast to the correct type instead to void pointer. 2013-12-02 10:50:57 +01:00
Frédéric Delanoy ec5da171e6 quartz: Use BOOL type where appropriate. 2013-10-25 13:36:01 +02:00
Frédéric Delanoy bd961941e0 quartz: Use BOOL type where appropriate. 2013-10-11 11:06:08 +02:00
Michael Müller 2fcfde0f62 quartz: Pass correct interface to IBaseFilter::JoinFilterGraph in function FilterGraph2_AddFilter. 2013-09-23 11:50:15 +02:00
Alessandro Pignotti 4910121972 quartz: The filter graph manager should handle GetCurrentPosition itself. 2013-03-05 09:50:03 +01:00
Alessandro Pignotti d1ff1c0495 quartz: It's not guaranteed that filters have a GUID in the property bag. 2013-03-01 18:03:30 +01:00
Alessandro Pignotti 3271406502 quartz: Get the CLSID directly from the filter. 2013-03-01 18:03:30 +01:00
Alessandro Pignotti 1ebed65e92 quartz: Use the moniker to create the filter directly. 2013-03-01 18:03:30 +01:00
Alessandro Pignotti e583f8806e quartz: Check byte patterns in GetFileSourceFilter.
The idea is to create a temporary AsyncReader and use it to match a
better filter. If no match is found the temporary filter is returned.
2013-02-27 19:23:12 +01:00
Alessandro Pignotti ebc37f45e6 quartz: Properly implement IGraphVersion in IFilterGraph. 2013-02-25 10:40:40 +01:00
Alessandro Pignotti ea16925d8c quartz: IEnumFiltersImpl needs to access data from IGraphFilterImpl. 2013-02-25 10:40:40 +01:00
Christian Costa 80b33cf38b quartz: Remove redundant traces. 2012-10-12 12:12:34 +02:00
Christian Costa 7ea44c0007 quartz: Forward IMediaControl_RenderFile to IFilterGraph2_RenderFile. 2012-10-09 18:32:24 +02:00
Marcus Meissner 791bc1cb93 quartz: Handle freeing pins in error case (Coverity). 2012-09-03 15:49:31 +02:00
Nikolay Sivov 17450f0be0 quartz: Use proper method macros. 2012-08-15 12:17:54 +02:00
Michael Stefaniuc 4e57e3bf52 quartz: Remove an object to IFilterGraph2 cast. 2012-07-09 10:00:15 -04:00
Michael Stefaniuc 692814e1f2 quartz: Standardize COM aggregation for FilterGraph. 2012-07-02 10:55:56 +02:00
Aric Stewart 10b2a21c3b quartz: Do not report a position unless the filter graph is running or has been paused. 2012-02-06 10:19:31 -06:00
Aric Stewart 53bd62737c quartz: If the MediaSeeking is not implemented all the way up the passthru chain fall back to the filtergraph's clock to find position. 2012-02-01 16:42:44 +01:00
Aric Stewart 8c91f1bf5e quartz: Implement IObjectWithSite and IAMGraphBuilderCallback for the FilterGraph. 2012-01-16 18:17:49 +01:00
André Hentschel b5ba054ce8 Assorted header comment cleanup. 2012-01-04 19:35:13 +01:00
Erich Hoover 09f134cb69 quartz: Fix converting between the media time and REFTIME. 2011-09-12 16:49:58 +02:00
Michael Stefaniuc 92f29035d8 quartz: COM cleanup for the IMediaPosition iface. 2011-07-01 14:39:36 +02:00
Michael Stefaniuc 482879462a quartz: COM cleanup for the IGraphConfig iface. 2011-07-01 14:39:36 +02:00
Michael Stefaniuc 13626d06e6 quartz: COM cleanup for the IMediaEventSink iface. 2011-07-01 14:39:36 +02:00
Michael Stefaniuc e97b34b26e quartz: COM cleanup for the IMediaFilter iface. 2011-07-01 14:39:36 +02:00
Michael Stefaniuc eca149bb4b quartz: COM cleanup for the IMediaEventEx iface. 2011-07-01 14:39:36 +02:00
Michael Stefaniuc 6d929c71b6 quartz: COM cleanup for the IVideoWindow iface. 2011-07-01 14:39:36 +02:00
Michael Stefaniuc a37208ba96 quartz: COM cleanup for the IBasicVideo2 iface. 2011-07-01 14:39:35 +02:00
Michael Stefaniuc 8d52dffc6d quartz: COM cleanup for the IBasicAudio iface. 2011-07-01 14:39:35 +02:00