Commit Graph

692 Commits

Author SHA1 Message Date
Juan Lang e73f31a6ef quartz: Don't crash if sample allocation fails. 2009-08-28 11:54:49 +02:00
Chris Robinson 7ba802ac29 quartz: Release enumpins when done with it. 2009-05-27 11:11:42 +02:00
Christian Costa 74c07a141e quartz: Data may be incomplete at the end of file so do not assert if we have less data than expected. 2009-04-14 11:28:34 -05:00
Marcus Meissner 5fdf50f76d quartz: Make sure cookie* are not uninitialized (Coverity 760). 2009-04-06 12:56:30 +02:00
Kai Blin 3fbf3f66db quartz/tests: If CoCreateInstance() fails, it's safe to return, as no cleanup is needed. 2009-03-24 10:28:01 +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 7ef5f44bb5 include: Change long to LONG in axextend.idl. 2009-03-12 13:09:54 +01:00
Michael Stefaniuc a3269bdc40 quartz: Change long to LONG in control.idl. 2009-03-11 13:03:31 +01:00
Henri Verbeet 166db1e934 quartz: Use a more appropriate size for the video renderer window. 2009-02-19 12:54:00 +01:00
Alasdair Sinclair 20f565de5e quartz/tests: Fix missing void in empty parameter list. 2009-01-30 11:43:29 +01:00
Michael Stefaniuc cc7fc4abef quartz: Remove superfluous pointer casts. 2009-01-29 14:06:01 +01:00
Nikolay Sivov 5ea119a3d0 quartz: Fix NULL pointer dereference (Coverity). 2009-01-27 14:57:41 +01:00
Paul Vriens b4d246ba8f quartz/tests: Fix test failures on Win95 by using A-functions. 2009-01-27 11:30:09 +01:00
Francois Gouget 8be5798e3f quartz: Make the IMemInputPin functions static. 2009-01-26 15:13:09 +01:00
Juan Lang 669ced3a67 quartz: Only test for the presence or absence of a single filter in a loop. Testing for more than one depends on the order of enumeration, which isn't guaranteed. 2009-01-22 15:28:23 +01:00
Paul Vriens 9908100305 quartz/tests: Fix some test failures on Win95. 2009-01-21 13:23:55 +01:00
Michael Stefaniuc 2724adae2d quartz/tests: Remove superfluous pointer casts. 2009-01-21 10:25:38 +01:00
Lei Zhang e9f1aa29b2 quartz: Add a filtergraph test for mpeg files. 2009-01-15 12:42:50 +01:00
Alexandre Julliard 8c33528372 quartz: Use SetWindowLongPtr to store a pointer value. 2009-01-08 17:30:57 +01:00
Alexandre Julliard 0014046adc quartz: Avoid a pointer cast in a trace. 2009-01-08 13:17:49 +01:00
Francois Gouget 14d44a06ba quartz: OutputPin_DeliverNewSegment() is unused so remove it. 2009-01-08 12:40:45 +01:00
Francois Gouget 5b92b39b2c quartz: Reorder some functions to avoid forward declarations. 2009-01-07 14:40:44 +01:00
Christian Costa fa8cd7435f quartz: Remove unused IMemInputPin vtables. 2008-12-30 13:40:33 +01:00
Christian Costa c83e4f130f quartz: Fix some traces and fixmes. 2008-12-29 12:52:21 +01:00
Lei Zhang d17609ad92 quartz: Ignore unknown chunks when parsing AVI headers. 2008-12-19 17:44:43 +01:00
Paul Vriens 061302483f quartz/tests: Fix test failures on Win9x by using A-functions. 2008-12-18 14:53:12 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Lei Zhang 7e1b714f74 quartz: Enumerate all the pins on filter and check directions when rendering. 2008-12-16 12:52:32 +01:00
Christian Costa 480e697035 quartz: Turn some fixmes into traces. 2008-12-08 22:02:29 +01:00
Christian Costa 1f45516d91 quartz: Accept null clsMinorType for pins when registering filters + tests. 2008-12-08 12:02:33 +01:00
Michael Stefaniuc 1a18b797eb quartz: Don't cast zero. 2008-12-05 12:36:24 +01:00
Alexandre Julliard 18bf17e828 quartz: Use FIELD_OFFSET instead of casting a pointer to int. 2008-12-04 12:14:58 +01:00
Christian Costa 50fda76b40 quartz: Return properly when input is flushing or reaching end of stream. 2008-12-03 09:49:19 +01:00
Alexandre Julliard e78ea286fb quartz: Make some functions and variables static. 2008-12-02 15:25:19 +01:00
Christian Costa 14485c365b quartz: Avoid leaking penummt and mt on error. 2008-12-01 14:05:49 +01:00
Francois Gouget 57908f889a quartz: Remove CALLBACK on static functions where not needed. 2008-11-26 12:10:51 +01:00
Francois Gouget 9517637eb4 quartz: Remove WINAPI on static functions where not needed. 2008-11-26 12:10:48 +01:00
Ricardo Filipe abe85bcb99 quartz: Removed dead code and variables (llvm/clang). 2008-11-25 11:49:51 +01:00
Maarten Lankhorst 8699661e96 quartz: Fix FilterGraph2_Connect to be thread-safe and not recurse infinitely. 2008-11-17 13:50:19 +01:00
Maarten Lankhorst f57896484c Revert "quartz: Reaching a renderer in the filtergraph is not an error."
This is plain wrong, input pin and output pin are supposed to be 
connected to each other, not the input pin being connected to a renderer 
pin and NOT reaching output pin
2008-11-17 13:11:42 +01:00
Lei Zhang 62a0bd65d2 quartz: Reaching a renderer in the filtergraph is not an error. 2008-11-14 11:02:15 +01:00
Paul Vriens 36c40e53e0 quartz/tests: Fix a few failures on Win95 and NT4. 2008-11-14 11:02:15 +01:00
David Adam 6ed258e220 quartz: Check for NULL condition in FilterGraph2_Disconnect. 2008-11-12 11:49:12 +01:00
Andrew Talbot a19ff5f07b quartz: Sign-compare warnings fix. 2008-11-05 10:56:54 +01:00
Andrew Talbot 9988ae3524 quartz: Sign-compare warnings fix. 2008-11-04 11:27:06 +01:00
Maarten Lankhorst b2d20154fa quartz: Implement dynamic format changing in directsound renderer. 2008-10-22 11:53:39 +02:00
Maarten Lankhorst ca0db58808 quartz: Fix ACMWrapper to allow mono channels too. 2008-10-22 11:53:30 +02:00
Michael Stefaniuc 56c6f7670b quartz: Use the right FAILED/SUCCEEDED macro instead of negating the opposite. 2008-10-08 13:42:06 +02:00
Aric Stewart a3c2c50809 quartz: Check hr so we are not incrementing a NULL (Coverity 106). 2008-10-07 11:59:14 +02:00
Rob Shearman 2fb89a4e36 quartz: Fix placement of WINAPI attribute in fnFoundSeek typedef.
MSVC requires that calling conventions appear inside the brackets.
2008-10-01 11:44:07 -05:00
Rob Shearman e7ecfe28a1 quartz: Don't use strlenW in array size declaration.
Use ARRAYSIZE() on the constant string arrays instead.
2008-10-01 11:44:02 -05:00
Maarten Lankhorst 907bb7ae1f quartz: Requeue in pullpin if request for data timed out.
If the filter is paused, no additional data will be queued and 
VFW_E_TIMEOUT is legitimately returned. Don't make this a fatal error, 
but instead try again. If flushing the thing will still abort.
2008-09-22 13:46:22 +02:00
Maarten Lankhorst d458efe072 quartz: Return VFW_E_WRONG_STATE in file source if flushing. 2008-09-22 13:46:17 +02:00
Maarten Lankhorst c71ba1a141 quartz: Don't abort starting for unconnected pin in avi splitter. 2008-09-22 13:46:12 +02:00
Maarten Lankhorst fd966f8322 quartz: Add missing calls to EndFlush. 2008-09-22 13:46:08 +02:00
Maarten Lankhorst f0f00d1625 quartz: Implement IMediaPosition::put_CurrentPosition. 2008-09-22 13:46:04 +02:00
Alexander Dorofeyev 48865c9064 quartz/tests: Fix potential NULL dereference (Coverity). 2008-09-10 11:03:23 +02:00
Paul Vriens ee14852ea9 quartz/tests: Fix the tests on several platforms. 2008-09-09 12:32:21 +02:00
Paul Vriens 8f23fc4e2f quartz/tests: Add a missing CoUninitialize. 2008-09-05 16:26:29 +02:00
Gerald Pfeifer dc302b7c1d quartz: Add return statement to PullPin_Thread_Main(). 2008-09-02 12:51:18 +02:00
Paul Vriens 5bef4b05dd quartz/tests: Use CreateFileA instead of CreateFileW to please win9x. 2008-08-28 11:24:49 +02:00
Alexandre Julliard 5d900bb0f6 Avoid some size_t printf format warnings. 2008-08-21 16:05:15 +02:00
Rob Shearman a35431a194 quartz: Use memcmp instead of strncmp in MPEGSplitter_pre_connect.
header isn't a string and therefore using strncmp doesn't make sense.
2008-08-18 17:34:13 +02:00
Rob Shearman 03a25b487f quartz: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Paul Vriens 04c40f2f5f quartz/tests: Skip some tests on NT4. 2008-08-05 14:09:34 +02:00
Maarten Lankhorst 94ef37400d quartz: Fix support for files with multiple odml indexes. 2008-07-29 11:54:52 +02:00
Maarten Lankhorst 6becc9e14b quartz: Fix end of file handling when first request is already end of file. 2008-07-29 11:54:41 +02:00
Maarten Lankhorst 89f4eeece3 quartz: Pass InputPin as parameter to transform filter. 2008-07-29 11:54:28 +02:00
Maarten Lankhorst 2b452ced74 quartz: Use correct media type in transformfilter's QueryAccept. 2008-07-29 11:54:20 +02:00
Maarten Lankhorst db2ccf43d4 quartz: Make transform filter return hresult from running/pausing. 2008-07-29 11:54:15 +02:00
Maarten Lankhorst fa38a7e313 quartz: Trace the iface pointer in the memory allocator. 2008-07-29 11:54:07 +02:00
Francois Gouget a516f27c2f quartz: assert.h is not a local include. 2008-07-28 11:34:26 +02:00
Maarten Lankhorst 3376ba6113 quartz: Fix end of stream handling in avi splitter.
The last frame wouldn't always be sent, this fixes that.
2008-07-22 13:11:22 +02:00
Maarten Lankhorst 271ee48301 quartz: Fix bugs that occur during connection. 2008-07-21 14:36:14 +02:00
Maarten Lankhorst 0f9356eb16 quartz: Fix handling of zero byte samples and endofstreams. 2008-07-21 14:36:04 +02:00
Francois Gouget bc5ce27947 Assorted spelling fixes. 2008-07-21 13:00:01 +02:00
Alexander Dorofeyev bca80e1a64 quartz: Fix interface leak in FilterGraph2_Render. 2008-07-18 11:15:30 +02:00
Alexander Dorofeyev 1656f6b7cc quartz: Add missing VariantClear after GetFilterInfo calls. 2008-07-18 11:15:24 +02:00
Alexander Dorofeyev 1cd83afda3 quartz: Fix variant handling in GetFilterInfo.
Removes unnecessary and unsafe type assignment, adds a missing VariantClear.
2008-07-18 11:15:17 +02:00
Alexander Dorofeyev 7c5a4481b1 quartz/tests: Fix interface leaks in filtergraph test. 2008-07-18 11:15:08 +02:00
Alexander Dorofeyev 6645999337 quartz: Fix interface leak in FilterGraph2_RemoveFilter. 2008-07-18 11:15:01 +02:00
Alexander Dorofeyev 4afad0a413 quartz/tests: Fix interface leaks in aggregation test. 2008-07-18 11:14:52 +02:00
Alexander Dorofeyev 33c6eeb9e3 quartz/tests: Add filtermapper aggregation tests. 2008-07-18 11:13:33 +02:00
Alexander Dorofeyev 4bc76025ba quartz/tests: Test querying IFilterMapper2 from FilterGraph. 2008-07-18 11:13:24 +02:00
Alexander Dorofeyev 0bea470dfc quartz: Aggregate filtermapper in filtergraph. 2008-07-18 11:13:14 +02:00
Alexander Dorofeyev d39ee67019 quartz: Make Filtermapper aggregatable. 2008-07-18 11:12:16 +02:00
Maarten Lankhorst 5299795a8d quartz: Fix wrong assignment of variable in parser. 2008-07-16 17:58:30 +02:00
Maarten Lankhorst 3ad7198961 quartz: Explicitly handle wave headers in avi splitter. 2008-07-16 17:52:31 +02:00
Maarten Lankhorst 28d6203ca9 quartz: Fix reference leak in avi splitter on end of stream. 2008-07-14 12:21:40 +02:00
Maarten Lankhorst 0e9704b02d quartz: Only allocate 1 buffer in transform filter. 2008-07-14 12:21:33 +02:00
Maarten Lankhorst cf1d2f5e42 quartz: Fix memory and sample leaks. 2008-07-14 12:21:26 +02:00
Maarten Lankhorst 36418d8ad1 quartz: Fix incorrect use of mtCurrent in transform filter. 2008-07-14 12:21:10 +02:00
Maarten Lankhorst 61ba32c036 includes: Add video mixing renderer header. 2008-07-11 14:50:44 +02:00
Michael Stefaniuc 5c0ff73db2 quartz: Add missing LeaveCriticalSection on error path (Smatch). 2008-07-11 14:07:25 +02:00
Maarten Lankhorst 2865c727de quartz: Make the file source rotate around the 'first' sample, to prevent starvation of a single stream.
This prevents the file source from starving a single thread off.
2008-07-11 13:58:24 +02:00
Maarten Lankhorst 484fdcf7e4 quartz: End the flush downstream first before restarting playback in pullpin. 2008-07-11 13:58:18 +02:00
Maarten Lankhorst e47bc7725e quartz: Call run before pausing in transform filter. 2008-07-10 14:42:38 +02:00
Maarten Lankhorst 86393897a8 quartz: Make filtergraph quieter. 2008-07-10 14:38:16 +02:00
Maarten Lankhorst fe9840f213 quartz: Make parser start even if some of the pins aren't connected. 2008-07-10 14:38:09 +02:00
Francois Gouget dbaec0a101 Assorted spelling fixes. 2008-07-10 13:40:15 +02:00