Commit Graph

1252 Commits

Author SHA1 Message Date
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
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 2581fc7c21 quartz: Print This pointer before iface pointer in traces.
This matches what is done in AMFilterData_ParseFilterData and
AMFilterData_CreateFilterData.

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:46 +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
Michael Stefaniuc 6b16727803 quartz: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 21:06:10 +09:00
Francois Gouget 4f91683580 quartz: Fix spelling of a BaseOututPin method implementation name.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:12 +09:00
Michael Stefaniuc 063cb64e11 quartz: Simplify a RECT transformation.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:08 +09:00
Michael Stefaniuc f96aab3f22 quartz: Use SetRect instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:07 +09:00
Sebastian Lackner f9663af1f4 quartz: Fix use of CONTAINING_RECORD in impl_from_TransformFilter.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:41:01 +09:00
Alexandre Julliard f9b91b5a6b quartz: Remove forward declaration of removed variable.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
Charles Davis 51ed908467 quartz: Remove unused variable (Clang).
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 11:05:41 +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 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
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 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
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
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
Marcus Meissner 5bc57faf86 quartz: Avoid endless loop (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:20 +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
Anton Baskanov b75eb2f91e quartz: Add stub IAMStreamSelect to MPEG-1 Stream Splitter.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 20:45:18 +09:00
Nikolay Sivov 5fb58eae3b quartz: Minor cleanup of returned interface pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 21:09:10 +09:00
Bruno Jesus 3f55d106fa quartz: Cope with invalid MP3 headers being detect as valid.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:40 +09:00
Akihiro Sagawa e4823f9b27 quartz: Use boolean constants for BOOL. 2015-09-14 16:47:52 +09:00
Bruno Jesus 66694cc043 quartz: Avoid audio header test code duplication.
The function MPEGSplitter_head_check does exactly the same test.
2015-09-14 16:47:51 +09:00
Bruno Jesus 29a9ea18bc quartz: Ensure pSample is NULL before calling IAsyncReader_WaitForNext. 2015-09-07 15:03:25 +09:00
Bruno Jesus c49e9d085d quartz: Skip AVI bad chunks while looking for the LIST chunk. 2015-09-04 15:22:02 +09:00
Gerald Pfeifer 2127f72f79 quartz: Replace four occurrences of 1 << 31 by 1u << 31 to avoid shift overflow. 2015-09-01 21:11:46 +09:00
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Sebastian Lackner 2e6ff19e0e quartz: Distinguish interface pointer and implementation pointer in multiple interfaces. 2015-06-26 20:35:05 +09:00
Nikolay Sivov 9c9f8c0bb9 quartz/tests: Get rid of some casts. 2015-06-23 15:08:01 +09:00
Sebastian Lackner b513e07c55 quartz: Fix handling of periodic advice timers. 2015-06-08 15:34:09 +09:00
Nikolay Sivov 5120fa9090 quartz: Implement a trivial case of ConvertTimeFormat(). 2015-05-18 14:06:34 +09:00
Francois Gouget 7c3e255896 quartz/tests: Remove an uneeded NONAMELESSUNION directive. 2015-03-18 19:39:00 +09:00
Francois Gouget 78bf626d20 quartz: Remove unneeded NONAMELESSXXX directives. 2015-03-18 19:38:55 +09:00
Sebastian Lackner 9057a693d7 quartz: Remove unused variable. 2015-03-02 13:53:19 +09:00
Michael Stefaniuc 2e54309f39 quartz: Remove an always true conditional subexpression (PVS-Studio). 2015-02-18 16:09:17 +09:00
Thomas Faber 7f9a63e5fd quartz: Avoid empty initializer braces. 2015-02-17 22:04:30 +09:00
Michael Stefaniuc 33136293ba quartz: Remove some unused assignments (PVS-Studio). 2015-01-21 15:29:03 +01:00
Michael Stefaniuc 8a42eb55da quartz: Simplify code flow logic (PVS-Studio). 2015-01-08 13:12:14 +01:00
Michael Stefaniuc 585f8dfe7e quartz: Remove an unused variable (PVS-Studio). 2015-01-08 13:12:10 +01:00
Michael Stefaniuc b31ef9c80a quartz: Remove always true if subexpression (PVS-Studio). 2015-01-08 13:12:03 +01:00
Aidan Thornton 1f7683777b quartz: Implement IFilterGraph2::AddSourceFilterForMoniker. 2014-12-17 19:36:35 +01:00
André Hentschel bf12844bf1 quartz: Remove unused code (Clang). 2014-12-02 10:48:37 +01:00
Nikolay Sivov b5cd477523 quartz: Use V_* macros to access variant members. 2014-09-03 11:21:53 +02:00
Erich E. Hoover dd32785772 quartz: Fix race condition between EndOfStream and Pause. 2014-08-05 17:41:36 +02:00
Erich E. Hoover ee94725c8e quartz: Fix race condition on EndFlush between csRenderLock and filter.csFilter. 2014-08-05 17:41:31 +02:00
Erich E. Hoover 126a420c56 quartz: Fix race condition on EndOfStream between csRenderLock and filter.csFilter. 2014-08-05 17:41:26 +02:00
Thomas Faber 0c9b832229 quartz: Destroy BaseRenderer in NullRendererInner_Release. 2014-07-29 14:32:54 -05:00
Thomas Faber 1236f52d19 quartz: Fix IEnumFiltersImpl memory leak. 2014-07-29 14:32:47 -05:00
Thomas Faber 7c5d0789d0 quartz: Destroy BaseOutputPin in FileAsyncReaderPin_Release. 2014-07-28 17:23:22 -05:00
Thomas Faber cf45bec65b quartz/tests: Fix memory leaks. 2014-07-28 17:21:24 -05:00
Thomas Faber bab08e690e quartz: Avoid side-effects in asserts. 2014-07-28 17:21:17 -05:00
Thomas Faber 5ce8c7a5a7 quartz: Destroy BaseFilter after child class. 2014-07-22 12:07:34 +02: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
Victor Martinez Calvo 2dbfb2af84 quartz: Check correct dwReserved item before tracing. 2014-05-05 12:17:49 +02:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Nikolay Sivov 44818ce0f9 quartz: Check GetCurFile() return value (Coverity). 2014-04-14 10:25:51 +02:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Alexandre Julliard 0d533cf0bd makefiles: Allow define arguments to be specific to a single file. 2014-01-07 12:20:25 +01:00
Jacek Caban 289bdc4f45 strmbase: Store BasePinFuncTable inside Base*PinFuncTable structs. 2014-01-06 20:47:02 +01:00
Michael Müller 6e373aa695 quartz: Return increasing monitor GUID on VMR7 monitor enumeration. 2014-01-02 17:43:29 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard 1adaad4c89 makefiles: Remove no longer needed dlldata.o and testlist.o extra objects. 2013-12-31 19:05:12 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Michael Stefaniuc bacd9abbc0 quartz: Cast to the correct type instead to void pointer. 2013-12-02 10:50:57 +01:00
Michael Müller 815f252b4a quartz: Partial implementation of VMR7MonitorConfig and VMR9MonitorConfig. 2013-11-19 18:53:16 +01:00
André Hentschel 29d08186c9 quartz/tests: Don't use DebugInfo of critical sections in tests. 2013-11-18 11:21:16 +01:00
Michael Müller 1b5026424b quartz: Improve stubs for AMCertifiedOutputProtection. 2013-11-11 20:07:02 +01:00
Marcus Meissner b745d8692b quartz: Use FreeLibrary instead of CloseHandle (Coverity). 2013-11-11 13:27:27 +01:00
André Hentschel 217faec5f5 quartz: Add stubbed IAMCertifiedOutputProtection interface. 2013-11-06 12:01:55 +01:00
André Hentschel ab925b39b4 quartz: Add stubbed IVMRMonitorConfig interfaces. 2013-11-06 12:01:55 +01:00
André Hentschel abbb40fa03 quartz: Add stubbed IVMRSurfaceAllocatorNotify interface. 2013-11-06 12:01:54 +01:00
André Hentschel e26d4a6f43 quartz: Add stubbed IVMRWindowlessControl interface. 2013-11-06 12:01:54 +01:00
André Hentschel d029181d1a quartz: Add stubbed IVMRFilterConfig interface. 2013-11-06 12:01:54 +01:00
André Hentschel f9cccaa3de quartz: Add Video Mixing Renderer 7. 2013-11-06 12:01:54 +01:00
André Hentschel bc59206e0e quartz: Get rid of the VMR9Impl typedef. 2013-11-06 12:01:54 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard 074f30b9e3 makefiles: Add makedep pragmas for proxy idl files. 2013-11-05 20:38:18 +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
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 Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc e476a20115 quartz: Avoid using CONST. 2013-09-23 11:54:27 +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
George Stephanos 637257b939 quartz: Replace CloseHandle by RegCloseKey. 2013-08-16 11:55:23 +02:00
Thomas Faber 7944ca4855 quartz: Correct IAMDirectSound::GetFocusWindow signature. 2013-07-30 20:55:32 +02:00
Marcus Meissner 2d05c24a1e quartz: Free wszPatternString (Coverity). 2013-03-15 11:42:10 +01:00
Alessandro Pignotti 4910121972 quartz: The filter graph manager should handle GetCurrentPosition itself. 2013-03-05 09:50:03 +01:00
Alessandro Pignotti f53fa4f05b strmbase: Remove code duplicated by every user of ISeekingPassThruImpl. 2013-03-05 09:50:02 +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 916854c5a8 quartz: Make GetClassMediaFile visible in the module. 2013-02-27 19:23:11 +01:00
Alessandro Pignotti fb2551c59b quartz: Modify GetClassMediaFile to also extract the SourceFilter value. 2013-02-27 19:23:10 +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
Andrew Talbot d50189c162 quartz: Avoid signed-unsigned integer comparisons. 2013-02-25 10:40:32 +01:00
Damjan Jovanovic 4bb45afc3f quartz: return the IMemAllocator so the BaseOutputPin can store it and use it, avoiding a NULL pointer crash. 2013-01-17 12:21:40 +01:00
Christian Costa 0c0b229717 quartz: Fix case in some methods name. 2012-11-27 20:55:05 +01:00
Andrew Talbot 17cc65a0df quartz: Remove unused variables. 2012-11-22 11:54:42 +01:00
Christian Costa 80b33cf38b quartz: Remove redundant traces. 2012-10-12 12:12:34 +02:00
Christian Costa c82d96fded quartz: Don't say we have a menu to AdjustWindowRectEx since the created window doesn't have one. 2012-10-10 10:37:11 +02:00
Christian Costa 266e79d05f quartz: Use target rect if set otherwise default to source rect in VideoRenderer_AutoShowWindow. 2012-10-10 10:37:06 +02:00
Christian Costa 03086e87ff quartz: Fill right RECT structure in SetDefaultTargetRec. 2012-10-09 18:32:25 +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 1552e22b0b quartz/tests: Use proper method macros. 2012-08-24 11:32:19 +02:00
Michael Stefaniuc 645e158946 quartz: COM cleanup for the IClassFactory iface. 2012-08-20 15:00:17 +02:00
Marcus Meissner de7635a2f0 quartz: Avoid linked list walk with free next (Coverity). 2012-08-20 10:55:11 +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 56e3b22f6c quartz: Use StdMemAllocator_from_IMemAllocator() instead of casts. 2012-07-03 12:02:54 +02:00
Michael Stefaniuc 9262c55a2e quartz: Use unsafe_impl_from_IMediaSample() instead of a cast. 2012-07-03 12:02:46 +02:00
Michael Stefaniuc f557ed6f94 quartz: Avoid a COM object => iface => object round trip. 2012-07-03 12:02:38 +02:00
Michael Stefaniuc b904b6949e quartz: COM cleanup for IMediaSample2. 2012-07-03 12:02:30 +02:00
Michael Stefaniuc 8309a38d6a quartz/tests: Add COM aggregation test for NullRenderer. 2012-07-02 10:58:55 +02:00
Michael Stefaniuc 02216db8ca quartz: Move VideoRenderer_create() to avoid forward declarations. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc 37cfaa2d02 quartz: Standardize COM aggregation for VideoRenderer. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc eb6388c4a5 quartz: Don't set the VideoRenderer object on creation failure. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc d28971a23e quartz: COM cleanup for IAMFilterMiscFlags in VideoRenderer. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc 67cb8da5cb quartz: Move NullRenderer_create() to avoid forward declarations. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc 4e1302c2fb quartz: Use impl_from_IBaseFilter() instead of casts. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc ad75caa483 quartz: Standardize COM aggregation for NullRenderer. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc 3501cb7b12 quartz: COM cleanup for IAMFilterMiscFlags in NullRenderer. 2012-07-02 10:58:33 +02:00
Michael Stefaniuc 7fa17be7c5 quartz: Move the FilterMapper_create to avoid forward declarations. 2012-07-02 10:56:09 +02:00
Michael Stefaniuc d2d3a9c462 quartz: Standardize COM aggregation for FilterMapper. 2012-07-02 10:56:03 +02:00
Michael Stefaniuc 692814e1f2 quartz: Standardize COM aggregation for FilterGraph. 2012-07-02 10:55:56 +02:00
Michael Stefaniuc ec9951892b quartz: Handle wrong COM aggregation attempts in IClassFactory_CreateInstance. 2012-07-02 10:55:41 +02:00
Chris Robinson 2ccc5bd2c7 quartz: Remove the seek position table from the MPEG splitter.
It takes a good 0.5 seconds for MPEGSplitter_pre_connect to iterate over the
file and build the table for a standard 2 or 3 minute MP3. This causes
unsightly hiccups when an app tries to play a new file, particularly in games,
as the pre-connect needs to happen synchronously to tell whether it can
succeed or not.
2012-06-26 17:06:10 +02:00
Chris Robinson 3b454e8a68 quartz: Improve MPEG header parsing and sync recovery. 2012-06-25 10:34:52 +02:00
Chris Robinson 037cefc43b quartz: Fix frame length calculation for MPEG audio. 2012-06-25 10:34:47 +02:00
Francois Gouget b5b7947ee8 quartz: Make VMR9_{Break,Complete}Connect() static. 2012-06-08 19:35:17 +02:00
Aric Stewart ac421e3341 quartz: Hookup the VMR-9 to directX and the Allocator-Presenter. 2012-06-07 16:06:49 +02:00
Aric Stewart 583d915520 quartz: Create the rendering window for VMR-9. 2012-06-07 15:56:22 +02:00
Aric Stewart 82a562a603 quartz: Allocate surfaces in VMR-9. 2012-06-07 15:55:24 +02:00
Aric Stewart 3d46f56a14 quartz: Implement default Surface Allocator for vmr9. 2012-06-07 15:53:09 +02:00
Aric Stewart 11f24690d5 quartz: COM cleanup for ParserImpl. 2012-05-24 21:23:29 +02:00
Aric Stewart 7fab2428c8 quartz: COM cleanup for Parser_OutputPin. 2012-05-24 21:23:25 +02:00
Aric Stewart dc53f01810 quartz: COM cleanup for WAVEParserImpl. 2012-05-22 17:43:57 +02:00
Aric Stewart 0352a7fb88 quartz: Add offscreen presentation to VMR9. 2012-05-22 17:43:57 +02:00
Aric Stewart 38c31973d4 quartz: Implement a Default Presenter in VMR9. 2012-05-22 17:43:56 +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
Aric Stewart d04552cada quartz: vmr-9 call BaseControlWindow_Destroy when destroying. 2012-05-18 18:14:26 +02:00
Michael Stefaniuc b69811f5ee quartz/tests: Remove misplaced ok() call. 2012-05-16 18:30:23 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Aric Stewart a6dbc28bfe quartz: Handle a crash and race condition that occurs on directsound renderer input pin disconnect. 2012-05-14 12:06:15 +02:00
Aric Stewart fb42513a03 quartz: Reinstate DSoundRender_Pause. 2012-05-14 12:06:15 +02:00
Aric Stewart 821b8a834c quartz: Some cleanup around evComplete now that DSoundRenderer uses baseRenderer. 2012-05-14 12:06:15 +02:00
Jacek Caban 942f2ce792 include: Use widl to take care of nameless structs and unions. 2012-05-14 12:04:17 +02:00
Aric Stewart f58c9661a4 quartz: Have DSoundRenderer use strmbase BasicAudio. 2012-04-30 11:00:26 +02:00
Aric Stewart f38318705c strmbase: Track internal window styles in baseWindow.WindowStyles. 2012-04-26 19:28:03 +02:00
Aric Stewart 7d5c4ec1f8 strmbase: Have BaseControlVideo use BaseDispatch. 2012-04-20 19:15:11 +02:00
Aric Stewart c7b12c10d8 strmbase: Have BaseControlWindow use BaseDispatch. 2012-04-20 19:15:08 +02:00
Francois Gouget a3da9a7ab4 quartz: Mark a bunch of functions as static. 2012-04-20 12:00:16 +02:00
Aric Stewart 6aafd2f1de quartz: Correct a critical section lock reversal issue found by Marcus Meissner (Coverity). 2012-04-19 19:28:10 +02:00
Aric Stewart f6ea0b6cdd quartz: Add control.idl as a typelib resource. 2012-04-09 18:05:16 +02:00
Aric Stewart 69da44106e quartz: Add VMRSurfaceAllocatorNotify9 to VMR9. 2012-04-09 17:57:29 +02:00
Aric Stewart 018161e760 quartz: COM cleanup for PullPin. 2012-04-06 20:45:01 +02:00
Aric Stewart e4656ebc88 quartz: Add VMRWindowlessControl9 to VMR9. 2012-04-05 17:53:11 +02:00
Aric Stewart eb4972017e quartz: Add VMRFilterConfig9 to VMR9. 2012-04-05 17:53:08 +02:00
Aric Stewart 8e79273b0e quartz: Add IAMFilterMiscFlags to VMR9 implementation. 2012-04-05 17:53:05 +02:00
Aric Stewart 76a42b9b9e quartz: Add BaseControlVideo to VMR9. 2012-04-05 14:51:34 +02:00
Aric Stewart 8365b7a372 quartz: Add BaseControlWindow to VMR9. 2012-04-05 14:51:34 +02:00
Aric Stewart d969b80210 quartz: Add initial VMR9 stub. 2012-04-05 14:51:34 +02:00
Aric Stewart 5bc4c1591a quartz: COM cleanup for DSoundRenderImpl. 2012-04-04 17:49:05 +02:00
Aric Stewart 51e3834bfb strmbase: Add IMediaPosition implementation to PosPassThru. 2012-04-04 17:49:04 +02:00
Aric Stewart dbf910b053 quartz: Change VideoRenderer to use strmbase's BaseControlVideo. 2012-04-03 12:20:15 +02:00
Aric Stewart 75300a7e32 quartz: Convert VideoRenderer to use strmbase's BaseControlWindow. 2012-04-03 12:20:03 +02:00
Aric Stewart 56477075c2 strmbase: Remove QualityControlImpl from the general strmbase.h.
Quality Control things are not part of the standard strmbase library set.
2012-04-03 12:19:17 +02:00
Aric Stewart 896be1355b quartz: Convert VideoRenderer to use strmbase BaseRenderer. 2012-04-03 12:18:44 +02:00
Aric Stewart 8830470a8c quartz: Have the VideoRenderer use strmbase BaseWindow. 2012-04-03 12:10:45 +02:00
Aric Stewart 54eafc73e5 strmbase: Implement renderer quality control into the base renderer. 2012-04-03 12:10:33 +02:00
Aric Stewart 821ead201d quartz: Convert DsoundRenderer to use strmbase BaseRenderer. 2012-04-02 14:01:27 +02:00
Aric Stewart 662220f77f strmbase: Expand BaseRenderer implementation. 2012-04-02 14:01:23 +02:00
Aric Stewart c6289fecec quartz: COM cleanup in ACMWrapperImpl. 2012-04-02 14:00:36 +02:00
Aric Stewart 26d33bb1c1 quartz: COM cleanup for AVIDecImpl. 2012-04-02 14:00:30 +02:00
Aric Stewart e7d4d9e4f6 quartz: COM cleanup for AsyncReader and FileAsyncReader. 2012-04-02 14:00:20 +02:00
Aric Stewart 3b85b13e27 quartz: Update null renderer to use the BaseRenderer from strmbase. 2012-03-30 10:44:34 +02:00
Aric Stewart d3c5b2c4f1 strmbase: COM cleanup for cleanup SourceSeeking. 2012-03-26 18:15:50 +02:00
Aric Stewart eb5d8b969f strmbase: COM cleanup for BasePin, BaseInputPin, and BaseOutputPin. 2012-03-26 18:15:49 +02:00
Aric Stewart 29d3c75442 strmbase: COM cleanup for BaseFilter. 2012-03-26 18:15:48 +02:00
Michael Stefaniuc 810b619e2b quartz: Print the debug string and not the pointer to it. 2012-03-26 18:15:24 +02:00
Aric Stewart cdf9c4f223 strmbase: Rename MediaSeekingPassThru to RendererPosPassThru to match standard strmbase naming. 2012-03-15 19:50:39 +01:00
Aric Stewart 026037ab69 strmbase: Move the MediaSeekingPassThru functions from quartz into strmbase. 2012-03-15 19:49:21 +01: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
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 da0650a209 quartz: Use the csReceive critical sections in transform filters. 2012-01-23 17:05:12 +01:00
Aric Stewart 4cd49d3bf1 quartz: Lower the merit on our current builtin filters. 2012-01-17 19:14:08 +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
Francois Gouget 5f88f362ea dlls: Standardize on 'static const WCHAR' for our Unicode string literals.
Do the same for the corresponding Ansi strings.
2011-12-20 10:16:09 +01:00
Francois Gouget e8f42fb29e quartz: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:39 +01:00
Francois Gouget 8560a654a8 quartz/tests: Give a name to the critical sections. 2011-11-14 20:15:28 +01:00
Michael Stefaniuc a948e5e474 quartz: Free two assert calls from having side effects. 2011-10-08 17:38:34 +02:00
Maarten Lankhorst 12e132e9be quartz: Fix support for mpeg layer 1 and 2. 2011-09-27 16:53:59 +02:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Francois Gouget e5e2304427 quartz/tests: Skip some tests if not allowed to register filters. 2011-09-19 17:56:05 +02:00
Erich Hoover 09f134cb69 quartz: Fix converting between the media time and REFTIME. 2011-09-12 16:49:58 +02:00
Erich Hoover b7bc6dcfae quartz: Add support for EndOfStream in PullPin. 2011-09-12 16:49:58 +02:00
Erich Hoover 9f7ef3786a quartz: Add missing release. 2011-09-12 16:49:58 +02:00
Erich Hoover cd4ee69ef3 quartz: Samples should be freed when IAsyncReader::Request fails. 2011-09-12 16:49:57 +02:00
Erich Hoover bc204370ae quartz: Do not assert when IAsyncReader::WaitForNext returns VFW_E_TIMEOUT. 2011-09-12 16:49:57 +02:00
Michael Stefaniuc 27e1d5adb7 quartz: Use an IDL file to define the IAMFilterData iface. 2011-09-06 11:29:38 +02:00
Alexandre Julliard 89d1d47d6b quartz: Specify the PSFactoryBuffer class in the idl file. 2011-08-01 17:20:46 +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
Michael Stefaniuc deb489c2d2 quartz: COM cleanup for the IMediaSeeking iface. 2011-07-01 14:39:35 +02:00