Commit Graph

94 Commits

Author SHA1 Message Date
Aric Stewart
018161e760 quartz: COM cleanup for PullPin. 2012-04-06 20:45:01 +02:00
Aric Stewart
eb5d8b969f strmbase: COM cleanup for BasePin, BaseInputPin, and BaseOutputPin. 2012-03-26 18:15:49 +02:00
Erich Hoover
b7bc6dcfae quartz: Add support for EndOfStream in PullPin. 2011-09-12 16:49:58 +02:00
Erich Hoover
9f7ef3786a quartz: Add missing release. 2011-09-12 16:49:58 +02:00
Erich Hoover
bc204370ae quartz: Do not assert when IAsyncReader::WaitForNext returns VFW_E_TIMEOUT. 2011-09-12 16:49:57 +02:00
Alexandre Julliard
7f6e677d5a quartz: Make sure the preferred allocator pointer is initialized. 2011-05-20 10:28:21 +02:00
Erich Hoover
068593b238 quartz: Create and hold onto a preferred allocator for IAsyncReader::RequestAllocator. 2011-05-17 12:01:18 +02:00
Erich Hoover
493a3a0f9d quartz: Make sure pin state cannot change while a flush is in progress. 2011-05-17 12:01:16 +02:00
Erich Hoover
484c952cf2 quartz: Release outstanding samples in PullPin::PauseProcessing. 2011-05-17 11:57:57 +02:00
Francois Gouget
78c605c3c9 quartz: Make some functions static. 2011-03-16 14:14:24 +01:00
Maarten Lankhorst
3329873b81 quartz: Forward IQualityControl on pullpin to base filter. 2010-11-08 13:30:27 +01:00
Aric Stewart
66e1ad8a96 strmbase: Move InputPin implementation to strmbase. 2010-10-06 20:46:48 +02:00
Aric Stewart
5c1409b55f strmbase: Move OutputPin implementation to strmbase. 2010-10-06 20:46:48 +02:00
Aric Stewart
0410e50e00 strmbase: Move BasePin implementation to strmbase. 2010-10-06 20:46:48 +02:00
Aric Stewart
89ea07f7d0 strmbase: Add the EnumMediaTypes base implementation. 2010-10-06 20:46:47 +02:00
Michael Stefaniuc
63512e8e98 quartz: Avoid using the long type. 2010-05-20 13:47:44 +02:00
Paul Chitescu
daa4943322 quartz: Do not assert() the existence of a media format of an input pin. 2010-02-24 15:12:30 +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
cc7fc4abef quartz: Remove superfluous pointer casts. 2009-01-29 14:06:01 +01:00
Francois Gouget
8be5798e3f quartz: Make the IMemInputPin functions static. 2009-01-26 15:13:09 +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
Francois Gouget
57908f889a quartz: Remove CALLBACK on static functions where not needed. 2008-11-26 12:10:51 +01: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
fd966f8322 quartz: Add missing calls to EndFlush. 2008-09-22 13:46:08 +02:00
Gerald Pfeifer
dc302b7c1d quartz: Add return statement to PullPin_Thread_Main(). 2008-09-02 12:51:18 +02:00
Maarten Lankhorst
271ee48301 quartz: Fix bugs that occur during connection. 2008-07-21 14:36:14 +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
484fdcf7e4 quartz: End the flush downstream first before restarting playback in pullpin. 2008-07-11 13:58:18 +02:00
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