Commit Graph

182 Commits

Author SHA1 Message Date
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
Francois Gouget 31deaa5baa amstream: Remove an unused NONAMELESSSTRUCT directive.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 21:19:35 +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
Anton Baskanov d7511089bf amstream: Implement AMAudioStream::JoinFilter.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:25 +01:00
Anton Baskanov 6030403151 amstream: Implement CheckMediaType for AMAudioStream based on code from mediastreamfilter.c.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:24 +01:00
Anton Baskanov 3f2b5ff298 amstream: Implement GetMediaType for AMAudioStream based on code from mediastreamfilter.c.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:22 +01:00
Anton Baskanov ee94f80cdf amstream: Add stub IPin and IMemInputPin to AMAudioStream.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:20 +01:00
Anton Baskanov 649a26e84d amstream: Implement AMDirectDrawStream::JoinFilter.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:18 +01:00
Anton Baskanov 5b03813d9d amstream: Implement CheckMediaType for AMDirectDrawStream based on code form mediastreamfilter.c.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:16 +01:00
Anton Baskanov 52c3c36d30 amstream: Implement GetMediaType for AMDirectDrawStream based on code from mediastreamfilter.c.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:15 +01:00
Anton Baskanov f7febb8277 amstream: Add stub IPin and IMemInputPin to AMDirectDrawStream.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:26:13 +01:00
Andrey Gusev 65989f2ace amstream: Return S_OK in IDirectDrawStreamSampleImpl_Update.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 19:35:28 +01:00
Józef Kucia e8e23114a2 amstream: Fix compilation on systems that don't support nameless unions.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:24:29 -05:00
Michael Stefaniuc 0e0cc67c5a amstream/tests: Use SetRectEmpty() instead of memset().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:11:43 +02: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
Anton Baskanov d283051b6b amstream: Implement AMAudioData::SetFormat.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:40 -05:00
Anton Baskanov fa542355e9 amstream: Implement AMAudioData::GetFormat.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:38 -05:00
Anton Baskanov 634deaf874 amstream: Implement AMAudioData::SetActual.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:36 -05:00
Anton Baskanov d4db4bfd72 amstream: Implement AMAudioData::SetBuffer.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:34 -05:00
Anton Baskanov 6010ebb22f amstream: Implement AMAudioData::GetInfo.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:31 -05:00
Anton Baskanov 4a0db15622 amstream: Fix AMAudioData::QueryInterface.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:13:29 -05:00
Michael Stefaniuc 8185c9f024 amstream: Avoid using the LPUNKNOWN COM iface type.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 19:31:32 +09:00
Michael Stefaniuc 0183cd17be amstream: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:59:00 +09:00
Nikolay Sivov b9357ecaad amstream/tests: Simplify refcount check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 11:49:38 +09:00
Michael Müller 9eaa372499 amstream: Implement IAudioMediaStream::GetMultiMediaStream.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:31 +09:00
Michael Müller dc732ffa7f amstream: Implement IAMMediaStream::GetMultiMediaStream for audio.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:31 +09:00
Michael Müller c88f4b85bc amstream: Implement IDirectDrawMediaStream::GetMultiMediaStream.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:30 +09:00
Michael Müller 0dc09c032d amstream: Implement IAMMediaStream::GetMultiMediaStream for video.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:30 +09:00
Sebastian Lackner 04c3a9bad2 amstream/tests: Add tests for GetMultiMediaStream methods.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:30 +09:00
Nikolay Sivov b752d3d44b amstream/tests: Correct sizeof expression to actually get array size (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 18:41:27 +09:00
Thomas Faller 2fb791b0eb amstream: Fix use of uninitialized memory. 2015-10-08 21:02:13 +09:00
Nikolay Sivov ed06707bac amstream: Create a surface if it wasn't provided in CreateSample(). 2015-06-24 15:28:50 +09:00
Nikolay Sivov 1470684539 amstream: Forward IUnknown methods to IAMMediaStream for streams. 2015-06-23 17:20:25 +09:00
Nikolay Sivov eb0b1d55e4 amstream: Implement GetDirectDraw(). 2015-06-23 17:20:23 +09:00
Nikolay Sivov 17283f9be5 amstream: Keep stream reference when creating sample. 2015-06-23 17:20:14 +09:00
Nikolay Sivov 139445eb49 amstream: Implement IDirectDrawStreamSample_GetSurface(). 2015-06-23 17:20:12 +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 84c2fda63d amstream/tests: Get rid of global stream pointer that we don't really need. 2015-06-22 15:32:09 +09:00
Nikolay Sivov 5b24854680 amstream: Get rid of some casts by using proper iface types. 2015-06-22 15:32:04 +09:00
Michael Müller d720c43caf amstream: Correctly check return values in IAMMultiMediaStreamImpl_Initialize (Coverity). 2015-06-01 14:46:19 +09:00
Sebastian Lackner 2edc31d6c0 amstream: Do not allow unloading while library is still in use. 2015-03-02 13:53:03 +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
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Piotr Caban 5c8339df4a strmbase: Add structure size parameter in BaseInputPin_Construct function. 2013-11-25 16:28:14 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00