Commit Graph

32 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes 623085d550 amstream: Leave critical section on success (Coverity).
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:42:20 +02:00
Zebediah Figura 7ef5f3be5a amstream: Reimplement IBaseFilter methods in the media stream filter.
In the long (or even short) term we probably want to decouple amstream from
strmbase entirely. The fact that pins and filters belong to separate objects
(and either one can even be provided by the application) prevents us from
performing some helpful restructuring.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:21:15 +02:00
Zebediah Figura f423c6e707 amstream: Reimplement IMediaStreamFilter::EnumPins().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:21:09 +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 fbbde62103 amstream: 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
Anton Baskanov 2622690534 amstream: Use streams as pins in MediaStreamFilter.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:29 +01:00
Anton Baskanov 193e56ce2c amstream: Store streams as IAMMediaStream in MediaStreamFilter.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:27 +01:00
Nikolay Sivov e5f01e5107 amstream: Remove some casts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:47 +09:00
Nikolay Sivov a7e2b99145 amstream: Release pins and streams array on instance release (Valgrind). 2015-06-22 15:32:13 +09:00
Nikolay Sivov 5b24854680 amstream: Get rid of some casts by using proper iface types. 2015-06-22 15:32:04 +09:00
Thomas Faber cc45c1373c amstream: Destroy BaseFilter after MediaStreamFilterImpl child class. 2014-07-28 17:20:59 -05:00
Jacek Caban 289bdc4f45 strmbase: Store BasePinFuncTable inside Base*PinFuncTable structs. 2014-01-06 20:47:02 +01:00
Piotr Caban 5c8339df4a strmbase: Add structure size parameter in BaseInputPin_Construct function. 2013-11-25 16:28:14 +01:00
Michael Stefaniuc 76b910514e amstream: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-08 10:44:34 +01:00
Andrew Talbot 3a53ea3398 amstream: Avoid signed-unsigned integer comparisons. 2012-12-13 11:20:54 +01:00
Christian Costa eca0bc3565 amstream: Fix return value of BasePinImp_GetMediaType. 2012-11-27 20:54:53 +01:00
Christian Costa 56c0151f6d amstream: Initialize correctly AM_MEDIA_TYPE struct. 2012-11-23 18:06:03 +01:00
Christian Costa 7e82db784a amstream: Implement BasePinImp_GetMediaType in media stream filter. 2012-10-15 12:08:41 +02:00
Christian Costa 604fb218b7 amstream: Implement BasePinImpl_CheckMediaType in media stream filter. 2012-10-15 12:08:35 +02:00
Christian Costa 5d5da39ddc amstream: Cleanup MediaStreamFilterImpl_QueryInterface. 2012-10-15 12:08:23 +02:00
Christian Costa 568c88ccb9 amstream: Get rid of (IBaseFilter*) casts. 2012-10-15 12:08:08 +02:00
Christian Costa 9bdf981718 amstream: Display new ref in AddRef and Release. 2012-10-12 12:11:42 +02:00
Christian Costa dec3d50290 amstream: Add the corresponding pin to every media stream added to the media stream filter + add tests. 2012-05-04 18:11:00 +02:00
Christian Costa 76d69cdb91 amstream: Implement AddMediaStream and GetMediaStream in media stream filter. 2012-03-28 11:48:30 +02:00
Aric Stewart 80c233b9dd amstream: Have the MediaStream Filter use strmbase. 2012-01-18 16:27:06 +01:00
André Hentschel b5ba054ce8 Assorted header comment cleanup. 2012-01-04 19:35:13 +01:00
Michael Stefaniuc 8d8843e563 amstream: Avoid a forward declaration of the IMediaStreamFilter vtbl. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc beada9ca42 amstream: COM cleanup for the IMediaStreamFilter iface. 2011-08-22 16:14:34 +02:00
Christian Costa d32ada8fa5 amstream: Simplify declaration of VTable members. 2010-01-14 09:09:20 -06:00
Michael Stefaniuc efbb4ebf3e widl: Output "LONG" instead of "long" for a 32bit integer.
long is always 32bit in IDL files but that's not true in C.
2009-03-13 11:15:21 +01:00
Michael Stefaniuc e0851fc1fa amstream: Remove superfluous casts. 2009-01-08 12:54:37 +01:00
Christian Costa 48e213b4d8 amstream: Add stubbed implementation of MediaStreamFilter. 2008-12-15 12:32:53 +01:00