Commit Graph

1079 Commits (87f823ad9196a8f26d1ac4272630e73aaae5cd17)

Author SHA1 Message Date
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
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
Bruno Jesus 89d4e14c0a quartz: Take MP3 padding bit into account when calculating the block size.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:30:37 +01:00
Nikolay Sivov 1fbbd154fd quartz: Remove stub messages for implemented methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 11:53:57 +02: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 3685d3d90d quartz: Avoid using CopyRect().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:44 +09:00
Michael Stefaniuc ddfc1a2e88 quartz: Use the proper COM method wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-12 22:58:54 +09:00
Nikolay Sivov c6110acfda quartz: Remove some interface pointer casts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 23:34:26 +09:00
Andrew Eikum b0534c12c0 quartz: Implement IClassFactory::LockServer.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 11:34:24 +09: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
Nikolay Sivov efe94aea18 quartz: Fix its vs it's typo.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-04 09:07:54 -05:00
Jan Schmidt 9f924276a6 quartz: Return the fullscreen status in Videorenderer.
Signed-off-by: Jan Schmidt <jan@centricular.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-21 12:30:21 +09:00
Jan Schmidt b5a33f02d3 quartz: Images in Direct3D surfaces must be top-down.
Invert images when copying to a Direct3D surface if they are provided
bottom-up.

Signed-off-by: Jan Schmidt <jan@centricular.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-21 12:30:16 +09: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
Béla Gyebrószki 9c8566654d quartz: Fix a typo in an ERR() message.
Signed-off-by: Béla Gyebrószki <gyebro69@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-09 12:12:03 +09:00
Andrew Eikum b5f2833dbe quartz: Use correct scale for quality control proportion.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:37:05 +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