Commit Graph

160 Commits

Author SHA1 Message Date
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
Paul Chitescu 4457717d79 qedit: Add pins, IMemInputPin implementation and grabbing to SampleGrabber. 2010-02-15 12:09:19 +01:00
Paul Chitescu 40c60e8cd2 qedit: Mostly stubbed out implementation of SampleGrabber filter. 2010-02-04 14:06:35 +01:00
Huw Davies 33a193439d qedit: Fix a memory leak.
Found by Valgrind.
2009-12-15 16:25:06 +01:00
Michael Stefaniuc b14c0056dd qedit: Change long to LONG in qedit.idl. 2009-03-12 13:09:54 +01:00
Alexandre Julliard a506c956a8 qedit/tests: Fix a pointer casting warning on 64-bit. 2009-01-03 20:14:18 +01:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Dan Hipschman dfbb2fc9e0 qedit: Add a stub for IMediaDet_get_StreamLength.
To get this working by querying the filters for IMediaSeeking and calling
GetDuration, we need a little better support from quartz.  For now a stub
is better than nothing.
2008-04-10 09:55:14 +02:00
Dan Hipschman 9536002552 qedit: Implement IMediaDet_get_FrameRate. 2008-04-10 09:55:03 +02:00
Dan Hipschman 3b0d68e409 qedit: Implement IMediaDet_get_StreamMediaType. 2008-04-10 09:54:53 +02:00
Mikołaj Zalewski 7656d8860e qedit/tests: Fix dependency. 2008-04-09 16:25:49 +02:00
Dan Hipschman 33f270afc0 qedit: Implement IMediaDet_(put|get)_CurrentStream. 2008-04-09 11:46:59 +02:00
Dan Hipschman d3061d48e1 qedit: Implement IMediaDet_get_OutputStreams. 2008-04-09 11:46:38 +02:00
Dan Hipschman 7d2d5a25cb qedit: Implement IMediaDet_get_Filename. 2008-04-09 11:44:51 +02:00
Dan Hipschman dc3d6fbe7f qedit: Implement IMediaDet_put_Filename. 2008-04-09 11:44:41 +02:00
Dan Hipschman 063aa3a1af qedit/tests: Fix an incorrect count given to GetTempPathW. 2008-04-09 11:44:33 +02:00
Dan Hipschman 742120ba94 qedit/tests: Add a partial test for IMediaDet_get_StreamMediaType. 2008-04-07 11:26:48 +02:00
Dan Hipschman b37ee80166 qedit/tests: Add a test for IMediaDet_(put|get)_CurrentStream. 2008-04-07 11:26:42 +02:00