Commit Graph

35 Commits

Author SHA1 Message Date
Zebediah Figura f5a8694c1a strmbase/transform: Fix pin IDs.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 10:06:26 +01:00
Zebediah Figura 1cabe7e4a3 strmbase/transform: Get rid of superfluous npins field.
Also return the correct number of pins in TransformFilter_GetPinCount().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 10:06:23 +01:00
Michael Stefaniuc ad576b6965 strmbase: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-15 23:12:57 +01:00
Michał Janiszewski b21c3b83dc strmbase: Remove unused function.
Signed-off-by: Michał Janiszewski <janisozaur@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 11:59:02 +02:00
Zebediah Figura d69a26b21b strmbase: 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
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 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
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 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
Amine Khaldi 9a26f0f0d9 strmbase: Remove unused TransformFilter_Vtbl (Clang). 2014-10-20 21:33:39 +09:00
Thomas Faber 3dbcadc278 strmbase: Destroy base class after child class. 2014-07-21 11:49:59 +02:00
Jacek Caban 289bdc4f45 strmbase: Store BasePinFuncTable inside Base*PinFuncTable structs. 2014-01-06 20:47:02 +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
Marcus Meissner 2ba014bf40 strmbase: Fixed user-after-free (Coverity). 2013-03-25 14:07:35 +01:00
Alessandro Pignotti f53fa4f05b strmbase: Remove code duplicated by every user of ISeekingPassThruImpl. 2013-03-05 09:50:02 +01:00
Aric Stewart 109ec4bbab strmbase: Fix issues with new quality control implementation in TransformFilter. 2012-04-04 17:49:04 +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 f1c9bd444c strmbase: COM cleanup for TransformFilter. 2012-03-27 11:40:44 +02:00
Aric Stewart 29d3c75442 strmbase: COM cleanup for BaseFilter. 2012-03-26 18:15:48 +02:00
Michael Stefaniuc b485f6c056 strmbase: Print the debug string and not the pointer to it. 2012-03-26 18:15:30 +02:00
Aric Stewart e2200b31d6 strmbase: Do not hold the csReceive lock when calling the transform's Receive function. 2012-01-23 17:05:11 +01:00
Aric Stewart b32b1a924e strmbase: In the TransformFilter add a critical section that protects the streaming state. 2012-01-17 11:49:28 +01:00
Gerald Pfeifer 8bdcf75b09 strmbase: Mark TransformFilter_QualityControlImpl_Notify static. 2011-07-04 20:22:44 +02:00
Marcus Meissner 67ae245a77 strmbase: Move NULL check up a bit (Coverity). 2011-06-27 13:27:17 -05:00
Maarten Lankhorst 8363436ea8 strmbase: Silence harmless fixme. 2010-11-10 12:13:54 +01:00
Maarten Lankhorst 5955a349c6 strmbase: Add support for IQualityControl to transform filter. 2010-11-08 13:30:27 +01:00
Aric Stewart 7e8751b2e1 strmbase: More properly standardized pin implementations for NewSegment. 2010-11-01 14:53:29 +01:00
Aric Stewart 60bf76db9a strmbase: Remove non-standard custom allocator logic from strmbase.
Implement function overrides for parser.c where a custom allocator was needed.
2010-10-14 17:54:52 +02:00
Aric Stewart 7602829c4f strmbase: Add GetMediaType and GetMediaTypeVersion to BasePin function table.
Allows for more widespread use of the BasePinImpl version of EnumMediaTypes.
2010-10-14 17:54:51 +02:00
Aric Stewart 3c2dfd186a strmbase: Standardize "class" function into functions tables in the structs.
This allows the standardization of the "class" functions to use the 
class as the argument and will aid in expanding the implementation of 
these functions.
2010-10-14 17:54:51 +02:00
Aric Stewart 8f3c3723bb strmbase: Clean up the allocator negotiating for BaseOutputPin. 2010-10-14 17:54:51 +02:00
Aric Stewart 34f3f7cae3 strmbase: Move TransformFilter implementation to strmbase. 2010-10-08 11:04:52 +02:00