Commit Graph

44 Commits

Author SHA1 Message Date
Michael Stefaniuc
56e3b22f6c quartz: Use StdMemAllocator_from_IMemAllocator() instead of casts. 2012-07-03 12:02:54 +02:00
Michael Stefaniuc
9262c55a2e quartz: Use unsafe_impl_from_IMediaSample() instead of a cast. 2012-07-03 12:02:46 +02:00
Michael Stefaniuc
f557ed6f94 quartz: Avoid a COM object => iface => object round trip. 2012-07-03 12:02:38 +02:00
Michael Stefaniuc
b904b6949e quartz: COM cleanup for IMediaSample2. 2012-07-03 12:02:30 +02:00
Michael Stefaniuc
bf247fad13 quartz: Use an iface instead of a vtbl pointer in BaseMemAllocator. 2010-12-09 12:20:56 +01:00
Juan Lang
a273ce077e quartz: Don't crash in SetMediaType if the source media type is NULL. 2010-12-03 11:08:37 +01:00
Maarten Lankhorst
8af5c1b729 quartz: Fix return value of GetMediaTime. 2010-11-08 13:30:23 +01:00
Aric Stewart
ac6db331ac quartz: Return E_OUTOFMEMORY of the StdMemAllocator is unable to allocate memory. 2010-09-18 13:09:20 +02:00
Michael Stefaniuc
63512e8e98 quartz: Avoid using the long type. 2010-05-20 13:47:44 +02:00
Gerald Pfeifer
6c016ac039 quartz: Fix return value for StdMediaSample2_GetTime in error cases. 2010-04-26 07:02:48 -05: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
cc7fc4abef quartz: Remove superfluous pointer casts. 2009-01-29 14:06:01 +01:00
Alexandre Julliard
18bf17e828 quartz: Use FIELD_OFFSET instead of casting a pointer to int. 2008-12-04 12:14:58 +01:00
Alexandre Julliard
e78ea286fb quartz: Make some functions and variables static. 2008-12-02 15:25:19 +01:00
Maarten Lankhorst
fa38a7e313 quartz: Trace the iface pointer in the memory allocator. 2008-07-29 11:54:07 +02:00
Maarten Lankhorst
8bedda7e1f quartz: Make the memory allocator emit more warnings and fix race condition. 2008-06-25 10:41:58 +02:00
Maarten Lankhorst
3d43a629d0 quartz: Have thread safety in memallocator. 2008-06-24 11:47:15 +02:00
Maarten Lankhorst
365bbe8343 quartz: Expose some methods so that a custom allocator can be created. 2008-06-21 11:15:27 +02:00
Maarten Lankhorst
1fad872961 quartz: Fix bug in memallocator with test. 2008-04-29 12:45:17 +02:00
Maarten Lankhorst
2f736c4a5a quartz: Fix inverted logic in memallocator. 2008-04-23 13:02:42 +02:00
Maarten Lankhorst
382a61391f quartz: Fix IMediaSample2 SetPreroll and SetSyncPoint. 2008-04-17 11:41:58 +02:00
Andrew Talbot
442f29ab49 quartz: Assign to structs instead of using memcpy. 2008-03-13 11:30:24 +01:00
Andrew Talbot
1f3133d214 quartz: Constify some variables. 2007-08-08 15:32:00 +02:00
Chris Robinson
e6e4056e1e quartz: Fix error with operator precedence. 2007-04-09 12:14:51 +02:00
Chris Robinson
9d41c2e694 quartz: Don't call ReleaseSemaphore on NULL semaphore handles. 2007-04-04 21:26:09 +02:00
Chris Robinson
2e726e6e11 quartz: Avoid asserting from used samples on allocator release. 2007-03-13 21:28:57 +01:00
Jan Zerebecki
b5619e8628 quartz: Add DebugInfo to critical sections.
Also add missing DeleteCriticalSection.
2007-03-12 13:39:49 +01:00
Chris Robinson
045270605c quartz: Use proper alloc/free functions for COM objects. 2007-03-08 13:53:54 +01:00
Francois Gouget
4fb03d9091 quartz: Use '%u' to print GetLastError(). 2007-01-05 18:24:20 +01:00
Hans Leidekker
cfbb859f59 quartz: Win64 printf format warning fixes. 2006-10-13 12:08:41 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard
305b221cf0 Get rid of another long long constant. 2005-09-14 10:30:36 +00:00
Christian Costa
8f3cc76ea2 Return S_OK when committing/decomitting an already
committed/decommitted allocator.
Add corresponding test case.
Improve traces.
2005-08-22 09:27:41 +00:00
Mike McCormack
0791d06215 Interlocked LONG* gcc warning fixes. 2005-07-12 19:21:36 +00:00
Dmitry Timoshkov
eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Maarten Lankhorst
0caae47658 Fixed freeing of mediatype. 2005-05-18 13:25:20 +00:00
Robert Shearman
51ae41eb0b Return an error instead of crashing later on a divide by zero
exception when an alignment of 0 is specified.
2005-04-11 18:50:58 +00:00
Paul Vriens
c6559a104c - Use Interlocked* functions in AddRef and Release.
- Store the result of the Interlocked functions and use only this.
2005-01-06 19:36:47 +00:00
Michael Stefaniuc
5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Christian Costa
5182f707f5 Fixed MediaSample passing. This is the upstream filter that releases
it.
Set ppMediaType to NULL when returning S_FALSE in
IMediaSample_GetMediaType (required by native Quartz dll).
Added support for 32-bit depth source in video renderer.
2004-12-20 17:07:17 +00:00
Alexandre Julliard
f5f7a1822c Removed some more uses of the non-standard ICOM_THIS macro. 2004-09-08 01:50:37 +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
Christian Costa
8b0ec72563 Added missing initialization of the filesource output pin critical
section.
Avoid indefinite wait when calling GetOverlappedResult.
Fixed initial refcount of the IMemAllocator object.
Improved some traces.
2004-08-13 19:49:16 +00:00
Robert Shearman
8e538a3dca Implemented IMemAllocator and IMediaSample. 2003-09-11 21:18:36 +00:00