Commit Graph

66 Commits

Author SHA1 Message Date
Alex Henrie 3f2a2c0591 amstream: Make constants 'filternameW' and 'sourceW' static.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:49 +01:00
Józef Kucia 554e2641cc amstream: Handle stream object parameter for IDirectDrawMediaStream.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45382
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:02 +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
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
Michael Müller d720c43caf amstream: Correctly check return values in IAMMultiMediaStreamImpl_Initialize (Coverity). 2015-06-01 14:46:19 +09: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
Christian Costa 7d128ea899 amstream: Specifying a stream object in params is not yet supported. 2012-10-16 20:45:19 +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
Nikolay Sivov bd102b5276 amstream: Call interface methods properly. 2012-08-20 10:58:32 +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 1349cf6902 amstream: Add stream to the media stream filter in IAMMultiMediaStreamImpl_AddMediaStream. 2012-03-28 11:48:35 +02:00
Christian Costa 6db90e0e9e amstream: Implement IAMMultiMediaStreamImpl_AddMediaStream + add tests. 2012-03-26 18:15:47 +02:00
Christian Costa aae32fd4fd amstream: No media stream is created when the defaut renderer is used. 2012-03-26 18:15:47 +02:00
Christian Costa 5512d8e700 amstream: Video streams do not support default renderer. 2012-03-26 18:15:46 +02:00
Christian Costa f5ee1304ef amstream: Check purpose id in AddMediaStream. 2012-03-26 18:15:45 +02:00
Christian Costa 91cc9ad585 amstream: Add support for AMMSF_ADDDEFAULTRENDERER for audio stream. 2012-03-26 18:15:43 +02:00
Christian Costa c5faf158a1 amstream: Get and store event for streams render completion. 2012-03-15 20:40:22 +01:00
Christian Costa c6c4472381 amstream: Create MediaStream filter when initialising AMMutiMediaStream. 2012-03-15 20:40:18 +01:00
Christian Costa 8d9655b819 amstream: Retrieve some interfaces needed to control the stream. 2012-03-15 20:40:13 +01:00
Christian Costa 4a25010c40 amstream: Use 'Source' filter name for file source filter as in native. 2012-03-15 20:40:08 +01:00
Christian Costa 682379059f amstream: Don't load the stream file. AddSourceFilter does it already. 2012-03-15 20:40:05 +01:00
Christian Costa 873c92bed8 amstream: Don't create the source filter. AddSourceFilter does it already. 2012-03-15 20:40:01 +01:00
Christian Costa 0caef9e2ba amstream: Rewrite OpenFile flow in a more readable manner by using SUCCEEDED macro. 2012-03-15 20:39:55 +01:00
Christian Costa abc6d186ea amstream: Free all used resources when releasing MultiMediaStream object. 2012-03-14 12:59:08 +01:00
Christian Costa 14e228c699 amstream: Add source filter to the filtergraph before loading the file. 2012-03-14 12:59:07 +01:00
Christian Costa b15c4113c0 amstream: Remove duplicate GraphBuilder member. 2012-03-14 12:59:07 +01:00
Christian Costa 8b5f6bf3f4 amstream: Initialize MultiMediastream before creating the source filter. 2012-03-14 12:59:06 +01:00
André Hentschel b5ba054ce8 Assorted header comment cleanup. 2012-01-04 19:35:13 +01:00
Michael Stefaniuc 52dd315666 amstream: Use CoTaskMemRealloc instead of alloc+copy. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc f49d6df198 amstream: Get rid of the explicit implementation of IMediaStream. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc d335af1ec0 amstream: Use an iface instead of an vtbl pointer in IAMMultiMediaStreamImpl. 2010-12-05 12:25:37 +01:00
Christian Costa 01624ea6c2 amstream: Fix AddRef calls. 2010-04-06 13:57:33 +02:00
Qingchuan Wang 33f41d1538 amstream: Expose also IMultiMediaStream which is the base interface of IAMMultiMediaStream. 2010-04-06 13:55:53 +02:00
Christian Costa d32ada8fa5 amstream: Simplify declaration of VTable members. 2010-01-14 09:09:20 -06:00
Christian Costa 73eff344f0 amstream: Initialize the stream in OpenFile if not done before. 2009-04-14 11:28:35 -05:00
Christian Costa 81ebb0900d amstream: Turn Initialize FIXME into a TRACE. 2009-04-14 11:28:34 -05:00
Joerg-Cyril.Hoehle@t-systems.com 110c287f2f amstream: Log GUID instead of pointer. 2009-03-30 17:39:23 +02:00
Christian Costa 8469689a71 amstream: Implement IAMMultiMediaStreamImpl_GetFilterGraph. 2009-03-26 11:51:03 +01: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
Christian Costa c4a8ab069f amstream: Some fixes. 2008-12-15 12:32:35 +01:00
Christian Costa 039c15a60a amstream: Implement IDirectDrawMediaStream. 2008-12-15 12:31:59 +01:00
Michael Stefaniuc 0152ec0375 janitorial: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:50 +02:00
Andrew Talbot 505c97d795 amstream: Exclude unused headers. 2007-04-23 20:01:01 +02:00
Joris Huizer a19b568063 amstream: sign-compare fixes. 2007-03-17 19:52:15 +01:00