Commit Graph

152 Commits

Author SHA1 Message Date
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
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 7d128ea899 amstream: Specifying a stream object in params is not yet supported. 2012-10-16 20:45:19 +02: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 01f07fe428 amstream: Render source file in IAMMultiMediaStreamImpl_OpenFile. 2012-10-12 12:11:56 +02:00
Christian Costa 7272256a60 amstream: Check filename pointer in IAMMultiMediaStreamImpl_OpenFile. 2012-10-12 12:11:48 +02:00
Christian Costa 9bdf981718 amstream: Display new ref in AddRef and Release. 2012-10-12 12:11:42 +02:00
Christian Costa e8c256b185 amstream: Add IAMMediaStream interface to AudioMediaStream object. 2012-09-24 09:59:16 +02:00
Christian Costa 6b73c61c63 amstream: Add IAMMediaStream interface to DirectDrawMediaStream object. 2012-09-24 09:58:42 +02:00
Christian Costa b74bcb61f9 amstream: Rename media stream objects and their method names for multi interfaces support. 2012-09-24 09:58:31 +02:00
Michael Stefaniuc 84efd59855 amstream: COM cleanup for the IClassFactory iface. 2012-08-20 15:00:13 +02:00
Nikolay Sivov bd102b5276 amstream: Call interface methods properly. 2012-08-20 10:58:32 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +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 49762b1679 amstream: Add checks to GetFormat. 2012-05-04 18:09:30 +02:00
Christian Costa 5c09a11e08 amstream: Add stubbed implementation of AudioStreamSample. 2012-04-26 19:29:26 +02:00
Christian Costa 60a8a27b2b amstream: Add stubbed implementation of DirectDrawStreamSample. 2012-04-26 19:29:12 +02:00
Christian Costa d5bbdabf28 amstream: Add IAudioMediaStream stub implementation. 2012-04-24 18:41:41 +02:00
Christian Costa badb5d555d amstream: Use proper constructor name for ddraw mediastream. 2012-04-24 18:41:38 +02:00
Joris Huizer ee0bfd36ed amstream: IAMMultiMediaStreamImpl_SetState: correct ifs. 2012-04-05 14:51:34 +02:00
Christian Costa 27c4ad3bec amstream: Implement IAMMultiMediaStreamImpl_SetState. 2012-04-04 17:20:23 +02:00
Christian Costa efff5abfb1 amstream: Implement IAMMultiMediaStreamImpl_Seek. 2012-04-04 17:20:20 +02:00
Christian Costa 0f8553b5d4 amstream: Add CLSID_AMAudioData implementation. 2012-04-04 17:20:01 +02:00
Christian Costa 303ce38bb3 amstream/tests: Add tests for querying interfaces and creating samples on video and audio media streams. 2012-03-28 11:48:45 +02:00
Christian Costa 3aab797929 amstream/tests: Verify if the dsound renderer is created when we create an audio stream with the default renderer. 2012-03-28 11:48:40 +02:00