Zebediah Figura
85d411aa24
strmbase: Move the IEnumMediaTypes implementation to pin.c.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 09:46:09 +01:00
Zebediah Figura
b33f058308
strmbase: Introduce a helper to more thoroughly trace media type.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-07 10:00:35 +02:00
Zebediah Figura
f46fe6d371
strmbase: Rename pfnGetMediaType() to pin_get_media_type().
...
And remove the unnecessary calling convention.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-25 16:27:54 +02:00
Zebediah Figura
8619eb9838
strmbase: Get rid of the BasePin typedef.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-24 09:08:20 +02:00
Zebediah Figura
750efd19a7
strmbase: Get rid of the "enumMediaFunction" field from IEnumMediaTypesImpl.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-24 09:08:12 +02:00
Zebediah Figura
bf01248ccb
strmbase: Get rid of the version fields from IEnumMediaTypesImpl.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-24 09:08:08 +02:00
Zebediah Figura
af35e10c14
strmbase: Fix implementation of IEnumMediaTypes::Skip().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47291
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 14:41:06 +02:00
Zebediah Figura
cf09b5a800
strmbase: Simplify IEnumMediaTypesImpl_Next().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 14:41:02 +02:00
Zebediah Figura
8ba451f85b
strmbase: Get rid of the ENUMMEDIADETAILS structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 09:36:02 +02:00
Zebediah Figura
a2258e717c
strmbase: Don't store the media type list locally.
...
It's just entirely unnecessary.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 09:35:56 +02:00
Michael Stefaniuc
78a8445a2a
strmbase: Remove redundant NULL check before CoTaskMemFree().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 21:40:07 +01:00
Sven Baars
c7f51d85ec
strmbase: Fix some memory leaks (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 21:39:23 +01: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
Christian Costa
3070dcee3b
strmbase: Simplify IEnumMediaTypesImpl_QueryInterface and turn FIXME into WARN.
2012-11-23 14:43:41 +01:00
Christian Costa
9bde31b3ee
strmbase: Display iface in TRACEs.
2012-11-23 14:43:36 +01:00
Christian Costa
930c9dd972
strmbase: Display new ref in AddRef and Release for IEnumMediaTypes.
2012-11-23 14:43:31 +01:00
Christian Costa
b8a7ead3a3
strmbase: Don't forget to add ref pUnk in CopyMediaType when pbFormat is null.
2012-11-22 17:17:19 +01:00
Christian Costa
44c6ca992e
strmbase: Use FreeMediaType instead of freeing media type by hand and forgetting pUnk release.
2012-11-22 17:16:48 +01:00
Aric Stewart
eb5d8b969f
strmbase: COM cleanup for BasePin, BaseInputPin, and BaseOutputPin.
2012-03-26 18:15:49 +02:00
Michael Stefaniuc
adfc457234
strmbase: Use an iface instead of a vtbl pointer in IEnumMediaTypesImpl.
2010-12-09 12:24:25 +01: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
89ea07f7d0
strmbase: Add the EnumMediaTypes base implementation.
2010-10-06 20:46:47 +02:00
Aric Stewart
961921060c
strmbase: Initial creation of static strmbase library for Quartz and Quartz filters.
...
Move the Media Type Functions.
2010-10-05 15:56:30 +02:00