Commit Graph

178 Commits

Author SHA1 Message Date
Zebediah Figura 68368a17b8 qedit/samplegrabber: Use strmbase_filter_cleanup().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-23 08:56:33 +02:00
Zebediah Figura c483201993 qedit/nullrenderer: Don't expose IAMFilterMiscFlags.
This reverts 443e24fe88.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:37 +02:00
Zebediah Figura 5351870ea1 qedit/samplegrabber: Correctly delegate IUnknown methods on the IMemInputPin interface.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:21:03 +02:00
Zebediah Figura 3855216cb3 qedit/nullrenderer: Use strmbase_renderer_cleanup().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 10:00:40 +02:00
Zebediah Figura dad885e2b9 strmbase: Get rid of the "pfnGetPinCount" callback.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 10:29:15 +02:00
Zebediah Figura 50395b0337 qedit/tests: Add a test for aggregation on the null renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:02:48 +02:00
Zebediah Figura c9c28a6387 qedit/tests: Add some tests for null renderer pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:02:41 +02:00
Zebediah Figura e9c4d26638 qedit/tests: Add some tests for querying null renderer pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:02:39 +02:00
Zebediah Figura e407dae3c7 qedit/tests: Add some tests for IBaseFilter::FindPin() on the null renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:02:36 +02:00
Zebediah Figura bdf5e8f5e0 qedit/tests: Add some tests for IBaseFilter::EnumPins() on the null renderer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:02:33 +02:00
Zebediah Figura 1904ac4e3b qedit/tests: Add some tests for null renderer filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:02:29 +02:00
Zebediah Figura 66dc93570c qedit/tests: Abort on missing qedit.dll.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:02:25 +02:00
Zebediah Figura e9ad430ab6 quartz: Vend CLSID_NullRenderer from qedit.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:43:32 +02:00
Zebediah Figura 96eb82f701 qedit: Fix return code for requesting aggregation with an interface other than IUnknown.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:43:29 +02:00
Zebediah Figura a6b00b4db6 qedit/tests: Clean up and expand aggregation tests.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:43:26 +02:00
Zebediah Figura eb5b2cfbc2 qedit/tests: Add some tests for sample grabber pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:43:24 +02:00
Zebediah Figura 7b6604d97f qedit/samplegrabber: Separate sink and source QueryInterface() implementations.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:43:20 +02:00
Zebediah Figura bfa5f38d6a qedit/tests: Add some tests for querying sample grabber pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Zebediah Figura f50c934361 qedit/tests: Add some tests for IBaseFilter::FindPin() on the sample grabber.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Zebediah Figura 0c52e96f59 qedit/tests: Add some tests for IBaseFilter::EnumPins() on the sample grabber.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Zebediah Figura a18be1aeaf qedit/tests: Test that reference counts are shared between interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Zebediah Figura 975eabff33 qedit/samplegrabber: Don't expose IMediaSeeking from the filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Zebediah Figura e5c1567905 qedit/samplegrabber: Don't expose IMediaPosition from the filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Zebediah Figura 83d97ad0a3 qedit/tests: Add more tests for sample grabber filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Michael Stefaniuc 60932f529d qedit: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Nikolay Sivov 81eb827c98 qedit/tests: Fix some leaks in tests (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-16 15:44:28 +02:00
Alistair Leslie-Hughes cfcc0dda15 qedit: Support IAMTimelineGroup interface in IAMTimelineObj.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 19:59:52 +02:00
Alistair Leslie-Hughes d107b91caa qedit/tests: Add test for the IAMTimelineGroup interface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-19 13:27:54 +02:00
Michael Stefaniuc 1e662d92ba qedit: 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:13:00 +09:00
Michael Stefaniuc 9525b1e2cf qedit: Avoid casting a COM object to an iface.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:22:04 +09:00
Andrew Eikum 3104b17f86 qedit: Don't require SampleGrabber to be playing to call callback.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 00:12:42 +09:00
Alex Henrie 36113e6ded qedit: Remove redundant "return 0" from Release functions.
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:14 +09:00
Alex Henrie 501de13b6c qedit: Return E_POINTER from Timeline_QueryInterface if ppv is NULL.
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:03 +09:00
Alex Henrie d10c5b4ac2 qedit: Implement IAMTimelineObj_GetTimelineNoRef and add tests.
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-27 23:04:44 +09:00
Alex Henrie bebc10c625 qedit: Implement IAMTimelineObj_SetTimelineType and add tests.
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-27 23:04:40 +09:00
Alex Henrie 41d0860d41 qedit: Implement IAMTimelineObj_GetTimelineType and add tests.
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-27 23:04:36 +09:00
Alex Henrie fca60cb558 qedit: Stub out AMTimelineObj.
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-27 23:04:32 +09:00
Alex Henrie cc2e4cfca8 qedit/tests: Add timeline object creation tests.
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-27 23:04:18 +09:00
Alex Henrie 69eafe63ad qedit: Stub out AMTimeline.
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-25 23:36:42 +09:00
Alex Henrie bac92dd689 qedit: List parameters in order in create function traces.
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-22 21:19:17 +09:00
Michael Stefaniuc f34efaab98 qedit: Simplify/fix the creation of the IEnumMediaTypes. 2015-08-13 15:05:26 +09:00
Michael Stefaniuc 2d3edce0f8 qedit: COM cleanup for IEnumMediaTypes of SampleGrabber. 2015-08-13 15:05:22 +09:00
Michael Stefaniuc 552037c925 qedit: Remove an unused and wrong assignment (PVS-Studio). 2015-01-21 15:28:57 +01:00
Nikolay Sivov 3c716499cc qedit: Use V_BSTR() to access BSTR data. 2014-09-03 11:21:49 +02:00
Nikolay Sivov 4f681295d6 qedit/tests: Fix a file handle leak on error path (Coverity). 2014-04-10 09:11:48 +02:00
Michael Stefaniuc 59ed2131ac qedit: Use the generic IEnumPin implementation for SampleGrabber. 2014-02-22 08:40:35 -06:00
Michael Stefaniuc 147cf6cc4e qedit: Use the generic BaseFilter implementation in SampleGrabber. 2014-02-20 11:19:26 +01:00
Michael Stefaniuc 37e5d4c53c qedit/tests: COM tests for IEnumPins from SampleGrabber. 2014-02-12 19:15:10 +01:00
Michael Stefaniuc ec9d32adf8 qedit: Return the correct iface in IEnumPins_QueryInterface(). 2014-02-12 19:15:10 +01:00
Michael Stefaniuc bb08b9f463 qedit/tests: Expand the SampleGrabber COM tests. 2014-02-12 19:15:09 +01:00
Michael Stefaniuc e27adf2a8c qedit: IMemInputPin / IQualityControl are IPin stuff. 2014-02-12 19:15:08 +01:00
Michael Stefaniuc d436ea9597 qedit: Use offsetof for the size of a struct with a varlen array. 2014-02-05 13:49:24 +01:00
Michael Stefaniuc 183bd439fa qedit: Don't dereference NULL on alloc failure. 2014-02-05 13:49:23 +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 d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Frédéric Delanoy 7d8f8dbad9 qedit/tests: Constify some character strings. 2013-12-30 19:01:36 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Michael Stefaniuc b5840db3e6 qedit/tests: Use the W version of FindResource(). 2013-10-02 11:02:25 +02:00
André Hentschel 171abcc401 qedit/tests: Improve test messages. 2013-04-29 11:42:55 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Alessandro Pignotti ae771fee02 qedit: Implement IMediaSeeking and IMediaPosition in sample grabber. 2013-03-05 09:50:02 +01:00
Michael Stefaniuc 2f67eb99ef qedit: Let C look like C. 2013-02-07 12:03:54 +01:00
Michael Stefaniuc 47513d9551 qedit: "Fix" DllCanUnloadNow() implementation. 2012-11-22 11:56:03 +01:00
Michael Stefaniuc e59cc20f93 qedit: COM cleanup for the IClassFactory iface. 2012-08-20 15:00:00 +02:00
Michael Stefaniuc be25a23bc9 qedit/tests: Add COM aggregation test for MediaDet. 2012-07-02 11:21:50 +02:00
Michael Stefaniuc 855046fe87 qedit: Support COM aggregation for MediaDet. 2012-07-02 11:21:44 +02:00
Michael Stefaniuc 7367685021 qedit: Support COM aggregation for SampleGrabber. 2012-06-27 11:36:28 +02:00
Michael Stefaniuc 703d0a33ce qedit: COM cleanup for the IPin iface (SampleGrabber). 2012-06-27 11:36:16 +02:00
Michael Stefaniuc 023f79a8dd qedit: Basic COM cleanup for SampleGrabber. 2012-06-27 11:36:07 +02:00
Michael Stefaniuc 454110ee34 qedit: Print the debug string and not the pointer to it. 2012-03-26 18:15:29 +02:00
Alexandre Julliard dc880388e1 qedit: Avoid releasing an uninitialized object. 2012-01-16 17:41:56 +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
Michael Stefaniuc 24da40fa85 qedit/tests: Add SampleGrabber COM aggregation test. 2011-11-22 10:52:07 +01:00
Andrew Talbot 710483eb2a qedit: Remove unneeded address-of operator from array name. 2011-10-31 23:54:11 +01:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Marcus Meissner 20eefd8d22 qedit: Mark internal symbols with hidden visibilitiy. 2011-05-24 11:56:06 +02:00
Michael Stefaniuc 5c2cf08674 qedit: Use an iface instead of a vtbl pointer in MediaDetImpl. 2010-12-09 12:25:21 +01:00
Alexandre Julliard 143746938f qedit: Convert dll registration to the IRegistrar mechanism. 2010-12-08 16:10:43 +01:00
Maarten Lankhorst b769a266cf qedit: Try all possible splitter filters instead of only the first one. 2010-11-26 12:15:10 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Francois Gouget 59ae1d69f9 qedit: Make (media,pins)enum_create() static. 2010-08-26 13:44:44 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Austin English caf0e0befe qedit: Fix return value of DllUnregisterServer. 2010-05-27 15:23:25 +02:00
Michael Stefaniuc 98fbcc4de2 qedit: Avoid using long. 2010-05-11 11:06:55 +02:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Francois Gouget e18e1c19fd qedit: Don't cast NULL. 2010-03-22 10:48:40 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Paul Chitescu 029bc761db qedit: Implement buffering in SampleGrabber. 2010-03-15 14:18:05 +01:00
Paul Chitescu 2ad03b9b74 qedit: SampleGrabber pins should enumerate a preferred format only after the input pin is connected and a fully defined format is known. 2010-03-15 14:18:05 +01:00
Paul Chitescu 5650a9eb8b qedit: In SampleGrabber ReceiveConnection check early the format type, return VFW_E_INVALIDMEDIATYPE like native. 2010-03-15 14:18:05 +01:00
Paul Chitescu 1d39e74c7a qedit: A full format is required when connecting either pin of the SampleGrabber. 2010-03-02 11:08:32 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Chitescu 381bd1c0ca qedit: Always print a TRACE when a SampleGrabber pin gets connected. 2010-02-17 12:32:59 +01:00
Paul Chitescu c56dc3b71e qedit: In output pin's IPin_Connect call ReceiveConnection on the receiver pin to properly negotiate media type. 2010-02-17 09:42:02 +01:00
Paul Chitescu 2d5ea4b5d5 qedit: Add media type enumerator to SampleGrabber. 2010-02-15 12:09:42 +01:00
Paul Chitescu 43fe5e35b8 qedit: Add pins enumerator implementation to SampleGrabber. 2010-02-15 12:09:35 +01:00
Paul Chitescu 076fdb35ba qedit: Add current media type and media matching to SampleGrabber. 2010-02-15 12:09:28 +01:00