Commit Graph

228 Commits

Author SHA1 Message Date
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
Christian Costa 1349cf6902 amstream: Add stream to the media stream filter in IAMMultiMediaStreamImpl_AddMediaStream. 2012-03-28 11:48:35 +02:00
Christian Costa 76d69cdb91 amstream: Implement AddMediaStream and GetMediaStream in media stream filter. 2012-03-28 11:48:30 +02:00
Christian Costa 7fe02c47f3 amstream/tests: Add some tests to retreive media streams to media stream filter. 2012-03-26 18:15:48 +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 872b515304 amstream/tests: Add media streams tests. 2012-03-26 18:15:45 +02:00
Christian Costa 34a1917fb3 amstream/tests: Make test.avi filename an unicode string and test the file presence once for all. 2012-03-26 18:15:44 +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
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
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02: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 2b55b5b663 amstream: Avoid the forward declaration of the DirectDrawMediaStream_Vtbl. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc aba87e0fe5 amstream: Basic COM cleanup for the IDirectDrawMediaStream iface. 2011-08-22 16:14:34 +02: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
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Marcus Meissner 5c29f78e6c amstream: Mark internal symbols as hidden. 2011-05-02 12:39:08 +02:00
Michael Stefaniuc d335af1ec0 amstream: Use an iface instead of an vtbl pointer in IAMMultiMediaStreamImpl. 2010-12-05 12:25:37 +01:00
Alexandre Julliard 025a84a15a amstream: Convert dll registration to the IRegistrar mechanism. 2010-12-03 14:28:23 +01:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02: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
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Christian Costa 607cb33fd5 amstream: Register media stream filter. 2010-01-29 17:27:19 +01:00
Christian Costa d32ada8fa5 amstream: Simplify declaration of VTable members. 2010-01-14 09:09:20 -06:00
Marcus Meissner 870bb4e6de amstream/tests: Handle directdraw not being created (Coverity 920). 2009-04-22 13:13:47 +02:00
Christian Costa c0f6808db6 amstream/tests: Improve render file test. Move OpenFile specific test into a separate test function. 2009-04-20 17:40:28 +02:00
Christian Costa d755cd7c4a amstream/tests: Fix crosstest build. 2009-04-15 15:56:04 -05:00
Christian Costa b5dbbd4f3a amstream/tests: Beginning of tests. 2009-04-14 11:28:35 -05: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
Michael Stefaniuc e0851fc1fa amstream: Remove superfluous casts. 2009-01-08 12:54:37 +01:00
Hans Leidekker 63aff890d7 janitorial: Remove unneeded user32 imports. 2008-12-17 11:38:36 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Christian Costa 48e213b4d8 amstream: Add stubbed implementation of MediaStreamFilter. 2008-12-15 12:32:53 +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
David Adam c41a903969 Revert "amstream: Fix the condition of existence of the IMediaStream interface."
This reverts commit 653c7e7dca.
2008-06-09 12:55:54 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
David Adam 8c21ebc685 amstream: Register CLSID_AMDirectDrawStream. 2008-04-28 14:31:51 +02:00
David Adam 653c7e7dca amstream: Fix the condition of existence of the IMediaStream interface. 2008-04-28 14:31:22 +02:00
Stefan Leichter c14bf9223c amstream: Remove 'recursive registry key delete' function. 2007-09-27 11:58:38 +02: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
Andrew Talbot 8cbba46dba amstream: Constify a variable. 2007-02-13 12:08:15 +01:00
Francois Gouget 9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Michael Stefaniuc 158253bffd amstream: Win64 printf format warning fixes. 2006-10-07 17:47:40 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Bang Jun-Young e4d3a72165 amstream: Fix argument types to match the PSDK. 2006-07-11 12:05:35 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Paul Vriens 8f143f190c Use the return value of register_key_guid. 2006-06-30 21:08:07 +02:00
Ivan Leo 27bfdc2a02 amstream: Implement IAMMultiMediaStreamImpl_OpenFile and IAMMultiMediaStreamImpl_OpenMoniker. 2006-06-26 13:38:02 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 74407105d2 Check the return value from register_key_guid in all the DLL registering code. 2006-05-10 19:38:04 +02:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Christian Costa fc94be1149 Add stub implementation of IMediaStream interface. 2005-11-07 16:38:48 +00:00
Christian Costa 42258c45be Use a more standard indentation style. 2005-11-01 18:06:03 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Francois Gouget 65f2082108 Add missing WINAPI to MSXML_DllGetClassObject().
Standardize the DllGetClassObject() prototypes so they match the MSDN
definition.
2005-08-08 15:04:53 +00:00
Alexandre Julliard 85c9283f50 Don't generate import libraries for dlls that don't export anything. 2005-07-26 15:52:58 +00:00
Mike McCormack 2d7ea23868 Interlocked LONG* gcc warning fixes. 2005-07-11 13:21:17 +00:00
Dmitry Timoshkov 4625628e67 Make some of the OLE interface vtables const. 2005-05-27 20:17:35 +00:00
Peter Oberndorfer 5e6f34ac13 Use proper return values in amstream stub functions. 2005-05-27 09:10:05 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Paul Vriens 545cdfa2ef - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-10 12:25:29 +00:00
Tom Wickline 5c38e1b561 Version resources cleanup. 2004-11-23 13:59:34 +00:00
Joris Huizer 823c418d8e Added IClassFactory->CreateInstance aggregation checks. 2004-10-18 21:21:19 +00:00
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Huw Davies e8d89cd0f5 Fix a reference leak on failure (spotted by Rob Shearman).
Move some code over to the Interlocked* functions.
2004-09-28 19:19:27 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Francois Gouget a896389679 Added 'strmiids.lib'.
Moved CLSID_FilterGraph and the related GUIDs to strmiids.
2004-08-19 19:31:20 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Ivan Leo Murray-Smith 10778aa761 Updated the version info of all DirectX dlls to the version numbers of
DirectX 9.0b for Windows 2000/XP.
2004-05-14 21:37:32 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Christian Costa 76b7787b58 Add amstream dll (MultiMedia Streams), part of Direct Show. 2004-03-09 01:29:56 +00:00