Commit Graph

1097 Commits

Author SHA1 Message Date
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
Zebediah Figura 813ab925ab quartz/tests: Remove a debug trace.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-07 14:38:19 -06:00
Zebediah Figura dd92761706 quartz/tests: Test that IFilterMapper enums filters registered with IFilterMapper2.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:56:50 -06:00
Zebediah Figura 574b2871de quartz/tests: Clean up test_legacy_filter_registration().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:56:46 -06:00
Zebediah Figura 7d4bcd5deb quartz/tests: Remove some unnecessary error-checking.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:52:21 +01:00
Zebediah Figura a42bf668b4 quartz/tests: Add more tests for IMediaSeeking.
Also remove uninteresting IMediaControl test.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:52:19 +01:00
Zebediah Figura 55d1323546 quartz/tests: Simply test_render_with_multithread().
Use CoCreateInstance directly, and try to run the graph on a real file.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:52:17 +01:00
Zebediah Figura 4df4aaab92 quartz/tests: Expand and separate media event tests.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:52:15 +01:00
Zebediah Figura e4aa395a81 quartz/tests: Expand and separate state change tests.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:52:13 +01:00
Zebediah Figura ef91785cb3 quartz/tests: Explicitly test correct return value for IGraphBuilder_Connect().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:52:11 +01:00
Zebediah Figura 6c0954d60f quartz/tests: Add a test for IGraphBuilder_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
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
Zebediah Figura 71fb9e65cf quartz/tests: Avoid using global variables.
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
Zebediah Figura 7db3e3c2dd quartz/tests: Test IMediaControl on a fully connected graph.
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
Michael Stefaniuc 9d704afd93 quartz: Don't create the advise thread during the clock teardown.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 16:40:23 +01:00
Zebediah Figura 55b3718205 quartz: Wait for the PullPin thread to terminate.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 12:41:09 +01:00
Andrey Gusev 95dc536817 quartz/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-29 18:00:44 +01:00
Nikolay Sivov b356673d01 quartz/tests: Add a couple of tests for return values (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 21:23:09 +01:00
Zebediah Figura 86c3d7293b quartz/tests: Add test AVI and MPG files.
Generated with ffmpeg using the following commands:

ffmpeg -f lavfi -i smptebars -t 1 -r 1 -f avi -vcodec rawvideo -pix_fmt yuv420p -vf scale=32x24 test.avi
ffmpeg -f lavfi -i smptebars -f lavfi -i "sine=frequency=1000" -t 0.04 -r 25 -f mpeg -vcodec mpeg1video -vf scale=32x24 -acodec mp2 test.mpg

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-10 12:45:02 +01:00
Zebediah Figura a49aa45c2b quartz/tests: Skip tests if CLSID_NullRenderer is not available.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-10 12:45:02 +01:00
Zebediah Figura 9a52a3e195 quartz/tests: Remove thread-counting tests.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-09 16:59:23 +01:00
Alistair Leslie-Hughes c23bcce552 quartz: Output This in TRACE statements.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-09 16:59:14 +01:00
Alistair Leslie-Hughes e317164f8f quartz: Output This in TRACE statements.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-09 16:59:11 +01:00
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
Andrey Gusev 8273fc88c9 quartz: Remove redundant comparison.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-09 19:51:38 +02:00
Andrey Gusev adda5aa635 quartz: Add missing parameter name.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-09 15:24:41 +02:00
Alistair Leslie-Hughes 84f5761a67 quartz: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:41:39 +09: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
Zebediah Figura e994c62e3e quartz: Use nAvgBytesPerSec to calculate length.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 19:15:12 +02:00
Zebediah Figura e1d14d2665 quartz: Restore a comment explaining mediatime.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 19:15:11 +02:00
Miklós Máté bf9eaac544 quartz: Small readability fix.
Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-12 12:05:05 +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
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
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
Andrew Eikum ac59a68162 quartz: Don't write past end of d3d9 buffer.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 21:30:10 +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 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
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