Commit Graph

156 Commits

Author SHA1 Message Date
Zebediah Figura 7074b411df quartz/tests: Avoid Sleep().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 11:13:16 +01:00
Zebediah Figura 64c6761761 quartz/tests: GetDestinationPosition() returns the actual window width.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 11:13:16 +01:00
Alex Henrie 126e3e280e quartz/tests: Fix test failures on Windows XP without upgraded DirectX.
As far as I can tell, MP3 decoding in DirectShow requires DirectX 9 or
later.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-18 09:44:43 +02:00
Alistair Leslie-Hughes 1234ae8024 quartz/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-04 10:47:08 +02:00
Jactry Zeng b709998f85 quartz/tests: Test IFilterGraph2::RenderFile with multithread.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-04 14:55:12 +02:00
Francois Gouget ff36b5c816 quartz: A couple of spelling fixes in comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-10 19:19:14 +01:00
Jactry Zeng adabe844b2 quartz/tests: Skip test_render_run() if test file doesn't exist.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-04 15:45:31 +01:00
Akihiro Sagawa 38586dcf48 winegstreamer: Fix reference leaks.
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:10:38 +01:00
Akihiro Sagawa 40a596fa86 strmbase: Add validation checks when updating destination rectangle.
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-11-28 16:59:28 +01:00
Akihiro Sagawa 547f4bc2cf strmbase: Add validation checks when updating source rectangle.
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-11-28 16:59:23 +01:00
Akihiro Sagawa 69761ae71c strmbase: Shift source/destination rectangle when updating top or left property.
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-11-28 16:55:04 +01:00
Akihiro Sagawa 96d2593ead strmbase: Fix copy-paste error where calculating video destination height.
Spotted by Andrew Eikum.

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-11-28 16:55:00 +01:00
Akihiro Sagawa 97405fc805 quartz: Add tests for IBasicVideo.
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-11-28 16:54:55 +01:00
Michael Stefaniuc b5a7853b86 quartz: Remove redundant NULL checks before CoTaskMemFree().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:12:41 +09:00
Michael Müller 355a3248d4 quartz: FileSource_Load should not fail on unknown file formats.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:30 +09:00
Michael Müller f5754b3d9a quartz: Recognize MPEG2 program streams.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:22:43 +09:00
Sebastian Lackner b28a8a3157 quartz: Add check for NULL pointer in FileSource_Load.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:22:29 +09:00
Sebastian Lackner 610d6b4540 quartz/tests: Add initial tests for IFileSourceFilter interface.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:22:06 +09:00
Alex Henrie 74425e6b04 quartz/tests: Print the correct function name when tests fail.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:20:25 +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
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 e0d8003a9a quartz/tests: Test aggregation with CLSID_FilterGraph.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 01:28:32 +09:00
Thomas Faber fecb862cff quartz/tests: Test aggregation with CLSID_FilterMapper2.
MPC-HC v1.7.10's CFGManager class creates a filter graph object during
its constructor, which means it passes in an outer object with a zero
reference count. Wine does an AddRef/Release on this object when
constructing the filter graph, thus its reference count drops back
to 0 and the CFGManager object gets freed prematurely.

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 7408a3a79e quartz/tests: Add NULL pointer tests for IGraphBuilder.
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 20:03:20 +09:00
Alexandre Julliard d8cc1dccba makefiles: Add makedep pragmas in all IDL source files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Anton Baskanov 9e8eb72210 quartz/tests: Test that MPEG-1 Stream Splitter implements IAMStreamSelect.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:08 +09:00
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Nikolay Sivov 9c9f8c0bb9 quartz/tests: Get rid of some casts. 2015-06-23 15:08:01 +09:00
Francois Gouget 7c3e255896 quartz/tests: Remove an uneeded NONAMELESSUNION directive. 2015-03-18 19:39:00 +09:00
Nikolay Sivov b5cd477523 quartz: Use V_* macros to access variant members. 2014-09-03 11:21:53 +02:00
Thomas Faber cf45bec65b quartz/tests: Fix memory leaks. 2014-07-28 17:21:24 -05:00
Nikolay Sivov 1f92df77a8 quartz/tests: Fix couple of test failures running with limited user. 2014-06-16 09:30:39 +02:00
Nikolay Sivov c6de8ad981 quartz/tests: Unregister filters only when registered successfully. 2014-06-13 10:13:43 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Michael Stefaniuc bacd9abbc0 quartz: Cast to the correct type instead to void pointer. 2013-12-02 10:50:57 +01:00
André Hentschel 29d08186c9 quartz/tests: Don't use DebugInfo of critical sections in tests. 2013-11-18 11:21:16 +01:00
Francois Gouget ee28dd80ea Assorted spelling fixes. 2013-11-01 10:54:32 +01:00
Nikolay Sivov ff3521718d quartz/tests: Enable compilation with -D__WINESRC__. 2013-10-29 20:07:07 +01:00
Frédéric Delanoy 4b94239a3b quartz/tests: Use BOOL type where appropriate. 2013-10-25 13:36:01 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Nikolay Sivov 1552e22b0b quartz/tests: Use proper method macros. 2012-08-24 11:32:19 +02:00
Michael Stefaniuc 8309a38d6a quartz/tests: Add COM aggregation test for NullRenderer. 2012-07-02 10:58:55 +02:00
Francois Gouget 0f504a17ce quartz/tests: Fix compilation on systems that don't support nameless structs. 2012-05-21 11:34:37 +02:00
Michael Stefaniuc b69811f5ee quartz/tests: Remove misplaced ok() call. 2012-05-16 18:30:23 +02:00
Aric Stewart 51e3834bfb strmbase: Add IMediaPosition implementation to PosPassThru. 2012-04-04 17:49:04 +02:00
Marcus Meissner 90dd4ea9a6 quartz: Fixed sizeof()s to IsBadReadPtr (Coverity). 2012-02-20 11:38:57 +01:00
Aric Stewart c3e2407664 quartz: AMFilterData_ParseFilterData returns a pointer to a pointer to filter data. 2012-02-07 09:30:05 -06:00
Francois Gouget 8560a654a8 quartz/tests: Give a name to the critical sections. 2011-11-14 20:15:28 +01:00