Commit Graph

64 Commits

Author SHA1 Message Date
Maarten Lankhorst 43d0acd26a quartz: Fix end of stream handling.
Flushing blocks any end of stream that may occur.
2008-07-10 12:17:20 +02:00
Maarten Lankhorst 992fb02c73 quartz: Fix deadlock with transform filter. 2008-07-09 10:58:27 +02:00
Maarten Lankhorst 53782ca47a quartz: Fix parser/pullpin to only care about the state transition stopped<->playing. 2008-07-07 12:11:23 +02:00
Maarten Lankhorst 6aabf5d39e quartz: Create thread after connection is made. 2008-06-25 10:41:52 +02:00
Maarten Lankhorst cdb66444ed quartz: Handle case where ReceiveConnection is called on an already connected pin. 2008-06-25 10:39:47 +02:00
Maarten Lankhorst e8a023f9f8 quartz: Clear pin value if not connected. 2008-06-24 11:47:33 +02:00
Maarten Lankhorst e8705402a4 quartz: Add the ability to force a pin to use a certain renderer. 2008-06-21 11:14:58 +02:00
Alexandre Julliard aac5fa3469 Revert "quartz: Clean up pullpin code."
This reverts commit 3066116f76.
2008-05-05 19:46:15 +02:00
Maarten Lankhorst 3066116f76 quartz: Clean up pullpin code. 2008-05-01 12:35:30 +02:00
Maarten Lankhorst 4e761d2613 quartz: Some state changes fixes. 2008-04-29 12:45:53 +02:00
Maarten Lankhorst 512ee927cb quartz: Add a function that can be called when stopping processing data. 2008-04-28 14:21:53 +02:00
Maarten Lankhorst 9e143cdb63 quartz: NotifyAllocator does not like a null argument. 2008-04-28 14:20:53 +02:00
Maarten Lankhorst 3a39805ed8 quartz: Make wave parser and mpeg splitter zero copy by getting rid of the seperate allocator for the output pin. 2008-04-23 13:03:50 +02:00
Maarten Lankhorst a022467690 quartz: Optimize the processing thread to fetch one sample while processing another. 2008-04-23 13:02:28 +02:00
Maarten Lankhorst d16639d1fa quartz: Flux AsyncReader in PullPin_BeginFlush. 2008-04-21 14:05:37 +02:00
Maarten Lankhorst 97b9e9c3ad quartz: Make sure at least 1 sample is processed before returning. 2008-04-17 11:42:24 +02:00
Maarten Lankhorst c8e31b5bdd quartz: Set sane defaults for pin stream rate. 2008-04-14 23:50:13 +02:00
Maarten Lankhorst 55f3ba9dc0 quartz: Remove while { } while construct.
Thanks to Andrew Talbot for spotting this.
2008-04-09 12:07:11 +02:00
Maarten Lankhorst 994af69cac quartz: Make the pullpin forward the BeginFlush before doing its own flushing. 2008-04-09 11:43:09 +02:00
Maarten Lankhorst f4d9c09dd4 quartz: Fix deadlocks in pullpin. 2008-04-08 12:21:00 +02:00
Maarten Lankhorst 01c6e64da6 quartz: Handle flushing and end of stream notifications for input pins. 2008-04-07 11:35:36 +02:00
Maarten Lankhorst fab66ee7a0 quartz: Get rid of code duplication and add a flush method. 2008-04-07 11:34:59 +02:00
Maarten Lankhorst 9d6239bdac quartz: Fix stop_playback used in pullpin. 2008-04-02 23:17:07 +02:00
Maarten Lankhorst 0e9ed6b402 quartz: Fix parser and pins logic to no longer deadlock. 2008-04-02 11:16:09 +02:00
Maarten Lankhorst 4d745e0051 quartz: Forward requests for MediaSeeking from all pins properly. 2008-03-24 11:32:19 +01:00
Maarten Lankhorst e02322aef8 quartz: Implement forwarding mediaseeking messages. 2008-03-20 14:27:34 +01:00
Maarten Lankhorst ea537b916e quartz: Transmit pullpin messages further. 2008-03-20 14:27:34 +01:00
Maarten Lankhorst 3c9e2263ee quartz: Fix bug in transmitting messages further. 2008-03-20 14:27:34 +01:00
Maarten Lankhorst ebf6bbd50f quartz: Call send flush/endofstream and segment messages downstream. 2008-03-19 11:24:08 +01:00
Maarten Lankhorst 83efc64dd5 quartz: Uncomment a trace. 2008-03-14 12:58:04 +01:00
Andrew Talbot 442f29ab49 quartz: Assign to structs instead of using memcpy. 2008-03-13 11:30:24 +01:00
Michael Stefaniuc 41044dcd8c quartz: Fix memory leaks on error paths. Found by Smatch. 2007-11-19 13:53:56 +01:00
Andrew Talbot 1f3133d214 quartz: Constify some variables. 2007-08-08 15:32:00 +02:00
Chris Robinson d9f755875b quartz: Fix ALIGN macros. 2007-04-09 12:14:46 +02:00
Chris Robinson 30abd4ed15 quartz: Tell filters to stop sending data when the chain is broken. 2007-04-04 21:26:16 +02:00
Chris Robinson c28b534550 quartz: Hold a reference on the PullPin's filter while the processing thread is alive.
Also removes dead code caused by the change.
2007-04-04 12:39:30 +02:00
Chris Robinson b1bfae286f quartz: Use a safe APC to kill the PullPin thread when the PullPin is being released. 2007-04-02 11:18:04 +02:00
Chris Robinson 9d1f49cd9f quartz: Set the sample time based on the number of bytes read before sending it downstream. 2007-04-02 11:16:00 +02:00
Chris Robinson f5400a2851 quartz: Store the current reference time with the PullPin. 2007-03-26 12:30:09 +02:00
Chris Robinson d8dc9fb319 quartz: Release objects when pins fail to connect. 2007-03-19 12:23:54 +01:00
Chris Robinson 52529c923d quartz: Hold a reference on a filter while sending data to it. 2007-03-19 12:23:46 +01:00
Chris Robinson 7f9becf854 quartz: Report the previous refcount of a PullPin object. 2007-03-05 12:59:49 +01:00
Andrew Talbot 6ef74bc9c8 quartz: Fix a typo.
Should fix Coverity CID-348 (dereference before NULL check).
2007-02-05 12:32:51 +01:00
Andrew Talbot a0e9fc872f quartz: Cast-qual warnings fix. 2006-11-13 12:46:41 +01:00
Hans Leidekker cfbb859f59 quartz: Win64 printf format warning fixes. 2006-10-13 12:08:41 +02:00
Piotr Caban 02479df343 quartz: Fixed crash in releasing uninitializes pAlloc and pReader. 2006-06-30 20:44:08 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 738e88db5f Replace the ICOM_THIS_From macros by inline functions. 2005-07-27 15:14:18 +00:00
Dmitry Timoshkov eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Christian Costa 623fb34acc Fixed clock release in transform template.
AddRef pUnk in CopyMediaType.
Added CreateMediaType helper function and use it.
Replaced some DeleteMediaType calls to FreeMediaType to be in line
with recent changes.
Fixed IEnumMediaTypesImpl_Next.
Clear media type when initializing pins.
Added some AddRef/Release traces.
2005-06-05 19:18:34 +00:00