Nikolay Sivov
17450f0be0
quartz: Use proper method macros.
2012-08-15 12:17:54 +02:00
Aric Stewart
e7d4d9e4f6
quartz: COM cleanup for AsyncReader and FileAsyncReader.
2012-04-02 14:00:20 +02:00
Aric Stewart
29d3c75442
strmbase: COM cleanup for BaseFilter.
2012-03-26 18:15:48 +02:00
Francois Gouget
5f88f362ea
dlls: Standardize on 'static const WCHAR' for our Unicode string literals.
...
Do the same for the corresponding Ansi strings.
2011-12-20 10:16:09 +01:00
Francois Gouget
e8f42fb29e
quartz: Avoid hardcoding the Unicode string literal lengths.
2011-12-16 17:40:39 +01:00
Marcus Meissner
63823061ed
quartz: Handle NULL return from strchr() (Coverity).
2011-05-03 19:34:27 +02:00
Marcus Meissner
82cd229cc2
quartz: Removed const from const REFIID (Coverity).
2011-03-14 19:31:29 +01:00
Maarten Lankhorst
945793722d
quartz: Implement AsyncReader_FindPin.
2010-12-01 17:17:41 +01:00
Maarten Lankhorst
9dedc4a795
quartz: Add IAMFilterMiscFlags to file source.
2010-11-05 11:24:46 +01:00
Aric Stewart
7e8751b2e1
strmbase: More properly standardized pin implementations for NewSegment.
2010-11-01 14:53:29 +01:00
Aric Stewart
60bf76db9a
strmbase: Remove non-standard custom allocator logic from strmbase.
...
Implement function overrides for parser.c where a custom allocator was needed.
2010-10-14 17:54:52 +02:00
Aric Stewart
7602829c4f
strmbase: Add GetMediaType and GetMediaTypeVersion to BasePin function table.
...
Allows for more widespread use of the BasePinImpl version of EnumMediaTypes.
2010-10-14 17:54:51 +02:00
Aric Stewart
3c2dfd186a
strmbase: Standardize "class" function into functions tables in the structs.
...
This allows the standardization of the "class" functions to use the
class as the argument and will aid in expanding the implementation of
these functions.
2010-10-14 17:54:51 +02:00
Aric Stewart
8f3c3723bb
strmbase: Clean up the allocator negotiating for BaseOutputPin.
2010-10-14 17:54:51 +02:00
Aric Stewart
791087089c
strmbase: Add an implementation of BaseFilterImpl_EnumPins.
2010-10-08 11:04:09 +02:00
Aric Stewart
1d42659c40
strmbase: Implement BaseFilter in strmbase.
2010-10-08 11:04:04 +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
bb110c7749
strmbase: Move enumpins from quartz to strmbase.
2010-10-06 20:46:47 +02:00
Aric Stewart
89ea07f7d0
strmbase: Add the EnumMediaTypes base implementation.
2010-10-06 20:46:47 +02:00
Paul Chitescu
af2bed44f8
quartz: Silence the FIXME that AsyncReader does not implement IBasicAudio.
2010-03-03 10:59:01 +01:00
Michael Stefaniuc
cc7fc4abef
quartz: Remove superfluous pointer casts.
2009-01-29 14:06:01 +01:00
Aric Stewart
a3c2c50809
quartz: Check hr so we are not incrementing a NULL (Coverity 106).
2008-10-07 11:59:14 +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
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
ee317b19b2
quartz: Set filesource initial state to stopped.
...
Fixes a bug valgrind found.
2008-07-04 19:35:07 +02:00
Maarten Lankhorst
c83a63d4b6
quartz: Don't return a pin in filesource when there is none.
...
Based on a patch by Olivier Samyn.
2008-05-12 11:42:43 +02:00
Maarten Lankhorst
c4cdfdac35
quartz: More filesource fixes.
...
After a flush call there should be no more samples in the buffer.
2008-05-01 12:35:30 +02:00
Maarten Lankhorst
12a0fd3d8b
quartz: Optimize the file source to do its job better.
2008-04-28 14:21:35 +02:00
Maarten Lankhorst
7934951343
quartz: Make the EnumPins interface dynamic.
...
Take a reference to the ibasefilter and request it for the pins and a
cookie. This seems to be the easiest way to ensure correctness.
2008-04-28 14:21:23 +02:00
Maarten Lankhorst
e0fe0ef01b
quartz: Make the file source support multiple samples by preallocating enough handles.
2008-04-23 13:04:36 +02:00
Maarten Lankhorst
ec124be823
quartz: Add some sanity checks to file splitter.
2008-04-23 13:02:53 +02:00
Maarten Lankhorst
0458c08b95
quartz: Set media time in the file source.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
33b2f69c9f
quartz: Fix sample leak in file source on failure path.
2008-04-21 14:05:37 +02:00
Austin English
313a85f163
Spelling fixes.
2008-04-17 12:25:57 +02:00
Maarten Lankhorst
5fb4224f81
quartz: Silence requests for IVideoWindow.
2008-04-14 23:50:13 +02:00
Maarten Lankhorst
4763e83b60
quartz: Don't free a null media type in the file source.
2008-04-09 11:43:05 +02:00
Maarten Lankhorst
45bd38ece3
quartz: Fix some memory leaks in the file source.
2008-04-07 11:35:11 +02:00
Maarten Lankhorst
d56c50c85b
quartz: Make FileAsyncReader_WaitForNext return an empty sample in flushing state.
2008-04-07 11:35:06 +02:00
Maarten Lankhorst
fab66ee7a0
quartz: Get rid of code duplication and add a flush method.
2008-04-07 11:34:59 +02:00
Andrew Talbot
892c31e4db
quartz: Assign to structs instead of using CopyMemory.
2008-03-31 12:50:37 +02:00
Maarten Lankhorst
db8b2ca7b4
quartz: Silence requests for ipin on filters.
2008-03-24 11:32:26 +01:00
Maarten Lankhorst
25f9d3c173
quartz: Implement detection on file extension in filesource.
2008-03-14 12:58:52 +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
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
3487da71ce
quartz: Fully disconnect the AsyncReader when released.
2007-03-21 11:56:00 +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
0717c96192
quartz: Improve reference traces.
2007-03-05 18:08:29 +01:00
Chris Robinson
efe156ae8e
quartz: Don't AddRef an object we just created and are handing back to the caller.
2007-03-05 13:00:24 +01:00