Commit Graph

228 Commits

Author SHA1 Message Date
Michael Stefaniuc f26168e494 qcap: 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
Zebediah Figura ec290906a0 qcap: Use CBaseFilter::FindPin().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:27 +02:00
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
Michael Stefaniuc 1a9c63fe9f qcap: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-03 12:02:03 +01:00
Nikolay Sivov 87d1de6c62 qcap: Remove redundant filter state check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-11 18:43:56 +02:00
Nikolay Sivov ffc2c70936 qcap: Use wine_dbgstr_longlong() to trace REFERENCE_TIME arguments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-20 09:30:26 +09:00
Alexandre Julliard bcc36abd88 qcap: Fix build when O_CLOEXEC isn't defined.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 13:35:22 -05:00
Nikolay Sivov 985acda3ee qcap/tests: Return cloned enumeration objects (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 21:51:39 +02:00
Wei Xie dfd22fb294 qcap: Add O_CLOEXEC flag to prevent child process from inheriting handles.
Signed-off-by: Wei Xie <xiewei@linuxdeepin.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 21:45:21 +01:00
Jactry Zeng 6530824ab3 qcap: Avoid call LeaveCriticalSection() repeatedly.
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-02-09 19:38:14 +01:00
Jactry Zeng ca4227bdf4 qcap: Release IBaseFilter.
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-01-25 16:14:24 +01:00
Francois Gouget fdbfd0f0b3 qcap/tests: A spelling fix in an ok() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 20:49:11 +01:00
Andrew Eikum d6afd45e71 qcap: Use HRESULT correctly.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 11:34:20 +09:00
Michael Stefaniuc 5287add1c4 qcap/tests: Remove a redundant NULL check before CoTaskMemFree().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:12:57 +09:00
Andrew Eikum 0025649714 strmbase: Improve QualityControl tracing.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:37:08 +09:00
Andrew Eikum af05ff4b15 qcap: Search the whole graph for an unconnected pin.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 22:59:23 +09:00
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Francois Gouget afd186e646 qcap/tests: Add a trailing '\n' to an ok() call. 2015-08-07 23:50:19 +09:00
Michael Stefaniuc 487472b3f6 qcap: COM cleanup for the IKsPropertySet iface. 2015-08-04 09:45:23 +02:00
Michael Stefaniuc 2284835973 qcap: Basic COM cleanup for IPin iface of VfwCapture. 2015-08-04 09:45:20 +02:00
Michael Stefaniuc a6bf7bb01f qcap: Just use the driver_info pointer from the parent. 2015-08-03 10:58:12 +02:00
Huw Davies 876d1d9eb8 qcap/tests: Fix test failures on Win64. 2015-07-29 20:56:51 +02:00
Michael Stefaniuc 7b1332d3f5 qcap/tests: Add COM tests for VfwCapture. 2015-07-28 13:41:44 +02:00
Michael Stefaniuc 67ced3c372 qcap: Support COM aggregation in VfwCapture. 2015-07-28 13:41:44 +02:00
Michael Stefaniuc d3ceabf433 qcap: There can be only ONE QueryInterface in VfwCapture!. 2015-07-28 09:55:11 +02:00
Michael Stefaniuc 6984db834a qcap: Remove initialization code from QI of VfwCapture. 2015-07-28 09:55:07 +02:00
Sebastian Lackner cf234d66b1 qcap: Distinguish interface pointer and implementation pointer for base filter. 2015-06-26 20:35:04 +09:00
Damjan Jovanovic bd5e184bfb qcap: The VfwCapture filter's GetNumberOfCapabilities() should set the capability count to zero. 2015-06-02 14:08:12 +09:00
Damjan Jovanovic 9c922b6ab5 qcap: Add initial audio capture filter. 2015-06-02 14:08:01 +09:00
Damjan Jovanovic 916dfb12b6 qcap: If we have a single VfwCapture pin, its category should be PIN_CATEGORY_CAPTURE. 2015-06-02 14:07:38 +09:00
Damjan Jovanovic 3f3e719551 qcap: Load the default renderer when it's not specified. 2015-06-02 14:07:34 +09:00
Damjan Jovanovic 982be1dea2 qcap: Add the SmartTee filter automatically as necessary, and test this. 2015-06-02 14:07:27 +09:00
Damjan Jovanovic 419be23964 qcap: Get the SmartTee filter to a minimally functional level. 2015-06-02 14:06:37 +09:00
Damjan Jovanovic 95c2b22c56 qcap: Implement the SmartTee allocator functions. 2015-06-02 14:05:52 +09:00
Damjan Jovanovic 9bf73a043a qcap: Implement the SmartTee media type functions. 2015-05-29 15:09:06 +09:00
Damjan Jovanovic cdd4060469 qcap: Implement a stubbed SmartTee filter. 2015-05-29 15:09:02 +09:00
Damjan Jovanovic e6307f1a4b qcap/tests: Test SmartTee filter aggregation. 2015-05-29 15:06:59 +09:00
Damjan Jovanovic d126fd53f7 qcap/tests: Add media tests for the SmartTee filter. 2015-05-29 15:06:59 +09:00
Damjan Jovanovic 5405c0feeb qcap/tests: Add many more SmartTee filter tests. 2015-05-29 15:06:56 +09:00
Damjan Jovanovic 6bc6b0bf71 qcap/tests: Fix SmartTeeFilter reference leaks from the pins in its test. 2015-05-29 15:06:03 +09:00
Michael Stefaniuc f7a21ee1d7 qcap: Print the debug string instead of the pointer value. 2015-03-24 18:16:12 +09:00
Francois Gouget 77f29bcdc0 qcap: Remove unneeded NONAMELESSXXX directives. 2015-03-18 19:38:58 +09:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Thomas Faber f0200b6d25 qcap: Destroy BaseOutputPin in VfwPin_Release. 2014-07-28 17:23:14 -05:00
Thomas Faber 33e0e6867f qcap: Reference module only on successful object creation. 2014-07-28 17:22:56 -05:00
Thomas Faber 5cbc081a1f qcap: Destroy BaseFilter after VfwCapture child class. 2014-07-22 12:07:19 +02:00
Jacek Caban 531a6ceb5d qcap: Store max frame size separately from video format bitmap info and restore it before each ICCompress call. 2014-04-08 19:23:26 +02:00
Nikolay Sivov ddbcd24178 qcap/tests: Check method return values (Coverity). 2014-03-31 11:45:57 +02:00
Piotr Caban 085891b8f6 qcap/tests: Fix AviMux test failures on Win2k. 2014-03-26 19:20:28 +01:00
Frédéric Delanoy 7715684ff7 qcap: Use BOOL type where appropriate. 2014-03-21 11:18:02 +01:00