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
Maarten Lankhorst
8efc1f3612
Fixed a dozen of reference (and some memory) leaks.
...
Implemented filtergraph_pause/stop.
2005-05-06 14:34:44 +00:00
Christian Costa
7dea79c487
Handle End Of Stream notifications.
...
Some AVI Splitter fixes.
2005-03-02 10:12:12 +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
Christian Costa
45f111a276
Implemented IMediaControl_Run that explores the graph, counts
...
renderers and starts filters.
Better implementation of IBaseFilter_Run for AVI SPlitter and AVI
Decompressor.
Use the standard memory allocator when an output pin does not provide
any allocator.
Set allocator properties for AVI Decompressor output pin and update
the buffers size at connection time.
2005-01-03 20:23:14 +00:00
Christian Costa
9b8d5c625f
Initialize the COM libraries for the newly created worker thread in
...
the AVI splitter.
Fixed some returned error codes.
Show refcount in the AddRef/Release traces in filter.
Added 24 bits source in the video renderer.
2004-12-27 17:15:58 +00:00
Christian Costa
1d90e4312f
Many fixes to the system clock implementation.
...
Ensure there is a clock before doing any AddRef or Release in the AVI
splitter.
Improved tests a bit.
Misc fixes and traces clean-up.
2004-12-16 14:25:15 +00:00
Alexandre Julliard
f5f7a1822c
Removed some more uses of the non-standard ICOM_THIS macro.
2004-09-08 01:50:37 +00:00