Commit Graph

136 Commits

Author SHA1 Message Date
Huw Davies 9ca5384078 strmbase: Remove unnecessary WS_ICONIC.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-30 21:30:45 +01:00
Michael Stefaniuc 37d8f36de6 strmbase: Remove an always true if condition (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:33:54 +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
Nikolay Sivov 875b8a6d4a strmbase: Remove some of casts to interface pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-25 19:50:25 +01:00
Nikolay Sivov 61105aee5b strmbase: 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>
2016-11-25 19:50:23 +01:00
Nikolay Sivov 89763f0e95 strmbase: Allocate sample list as a part of queue structure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-25 19:50:19 +01:00
Nikolay Sivov 16dead4dd2 strmbase: Remove a couple of redundant statements in Release() methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-25 19:50:17 +01:00
Akihiro Sagawa 0638213243 strmbase: Add null pointer checks to BaseControlVideoImpls.
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-21 20:57:06 +01:00
Michael Stefaniuc 9e087cde4b strmbase: Don't bother tracing the GUID pointers too.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:26 +09:00
Nikolay Sivov 51021faaef strmbase: Fix media type leaks when creating IEnumMediaTypes instance (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 00:16:21 +09:00
Nikolay Sivov 0c823e8369 strmbase: Fully cleanup on initialization failure (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-28 22:37:11 +09:00
Michael Stefaniuc d7f332020c strmbase: Avoid a COM object to interface cast.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 19:31:31 +09:00
Michael Stefaniuc 4c224eaba1 strmbase: Don't cast IQualityControl to the COM object.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 19:31:29 +09:00
Michael Stefaniuc 275eb8ab2b strmbase: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:18:38 +09:00
Andrew Eikum 97fea6d80e strmbase: Initialize QualityControl struct on allocation.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:37:10 +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
Anton Baskanov 3e02882508 strmbase: Decommit allocator when streaming stops.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 19:15:29 +09:00
Nikolay Sivov 4c80ec023d strmbase: Switch to void for QualityControlImpl_Destroy().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:37 +09:00
Nikolay Sivov 9385e9f78a strmbase: Remove redundant null pointer check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:37 +09:00
Nikolay Sivov 7dd00af747 strmbase: Remove some redundant return value initializers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:37 +09:00
Nikolay Sivov a59e3e0f4e strmbase: Avoid using HRESULT codes as BOOL value (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-16 17:59:45 +09:00
André Hentschel 72eefcb5c0 strmbase: Remove unused macro. 2015-02-23 15:25:57 +09:00
Michael Stefaniuc 9fb737de34 strmbase: Handle the failure of CoCreateInstance (PVS-Studio). 2015-01-22 12:04:13 +01:00
Michael Stefaniuc 0f2eca579d strmbase: Remove an unused assignment (PVS-Studio). 2015-01-22 12:04:10 +01:00
Michael Stefaniuc 762eb67698 strmbase: Remove an unused variable (PVS-Studio). 2015-01-13 19:53:57 +01:00
Amine Khaldi 381bca49e0 strmbase: Remove unused InputPin_Vtbl, OutputPin_Vtbl and impl_BaseInputPin_from_BasePin() (Clang). 2014-10-21 20:00:23 +09:00
Amine Khaldi 9a26f0f0d9 strmbase: Remove unused TransformFilter_Vtbl (Clang). 2014-10-20 21:33:39 +09:00
Nikolay Sivov 5bbc402826 strmbase: Remove noop assignment (PVS-Studio). 2014-08-25 10:55:21 +02:00
Erich E. Hoover a9325037b5 strmbase: Fix race condition on InputPin_EndOfStream between csRenderLock and filter.csFilter. 2014-08-05 17:41:21 +02:00
Erich E. Hoover 47425a5801 strmbase: Fix race condition on InputPin_EndFlush between csRenderLock and filter.csFilter. 2014-08-05 17:41:18 +02:00
Erich E. Hoover c22547792a strmbase: Fix race condition on InputPin_BeginFlush between csRenderLock and filter.csFilter. 2014-08-05 17:41:15 +02:00
Thomas Faber 4ea1f35777 strmbase: Separate BasePin destructors from Release. 2014-07-28 17:23:06 -05:00
Thomas Faber 3dbcadc278 strmbase: Destroy base class after child class. 2014-07-21 11:49:59 +02:00
Thomas Faber 992f5345ed strmbase: Separate BaseFilter destructor from Release. 2014-07-21 11:49:53 +02:00
Michael Stefaniuc 974e5af3fe strmbase: Return the iface instead of the object pointer. 2014-02-20 11:18:46 +01:00
Jacek Caban 289bdc4f45 strmbase: Store BasePinFuncTable inside Base*PinFuncTable structs. 2014-01-06 20:47:02 +01:00
Alexandre Julliard af6db67d6f makefiles: Get rid of the MAKE_IMPLIB_RULES variable. 2014-01-02 12:12:59 +01:00
Alexandre Julliard 1cd2786f92 makefiles: Generate cross-compile rules automatically when supported. 2014-01-01 21:28:28 +01:00
Piotr Caban d6f8d8f25b strmbase: Don't pass NULL fetched parameter in BaseOutputPinImpl_Connect on external IPin implementation. 2013-11-26 14:39:56 +01:00
Frédéric Delanoy 50d45a8abc strmbase: Use BOOL type where appropriate. 2013-11-26 10:15:57 +01:00
Piotr Caban 5c8339df4a strmbase: Add structure size parameter in BaseInputPin_Construct function. 2013-11-25 16:28:14 +01:00
Alexandre Julliard e318b4a59c makefiles: Move the static library rules to the global Make.rules file. 2013-10-09 11:25:04 +02:00
Christian Costa 163943058c strmbase: Display iface in traces and new ref in AddRef and Release for IEnumPins. 2013-06-04 10:14:20 +02:00
Marcus Meissner 2ba014bf40 strmbase: Fixed user-after-free (Coverity). 2013-03-25 14:07:35 +01:00
Alessandro Pignotti 0029bbcf48 strmbase: Frame scheduling should use IMediaSample::GetTime. 2013-03-06 11:46:13 +01:00
Alessandro Pignotti f53fa4f05b strmbase: Remove code duplicated by every user of ISeekingPassThruImpl. 2013-03-05 09:50:02 +01:00
Damjan Jovanovic 7f767bb195 strmbase: Store and use the chosen IMemAllocator instead of getting it from the input pin. 2013-01-15 12:18:04 +01:00