Maarten Lankhorst
3a9040c1f2
quartz: Only query for event interface when there is a filtergraph.
...
Prevents a null pointer dereference.
2008-06-21 11:15:07 +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
Maarten Lankhorst
fc3377d08b
quartz: Forward some messages from IMediaSeekingPassThru.
2008-06-19 12:34:55 +02:00
Maarten Lankhorst
9473b750bf
quartz: Set data length in avi decompressor.
2008-06-19 11:42:14 +02:00
Maarten Lankhorst
40c0566879
quartz: Improve the directsound renderer a bit.
2008-06-19 11:42:08 +02:00
Maarten Lankhorst
5026c25e05
quartz: Initialize some uninitialized variables in the video renderer.
2008-05-22 11:46:25 +02:00
Maarten Lankhorst
c4e32aad01
quartz: Do timekeeping in the avi decoder.
...
Fixes the timestamps generated.
2008-05-22 11:46:19 +02:00
Maarten Lankhorst
6d7518685e
quartz: Don't free memory twice in null renderer.
...
_Release already frees it.
2008-05-22 11:46:05 +02:00
Paul Vriens
64444ebe94
janitorial: Close COM after tests.
2008-05-19 23:10:01 +02:00
Maarten Lankhorst
98f0b5f479
quartz: Reset time when rejecting sample in the mpeg splitter.
2008-05-13 11:21:12 +02:00
Maarten Lankhorst
7d6e28c3bb
quartz: Silence a fixme.
2008-05-13 11:21:05 +02:00
Lei Zhang
a4d0d4fe36
quartz: Check input in MediaControl_GetState.
2008-05-13 10:57:45 +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
Francois Gouget
633ee950a1
Assorted spelling fixes.
2008-05-07 12:07:11 +02:00
Francois Gouget
42a61d7ed7
Assorted spelling fixes.
2008-05-06 16:10:20 +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
753ac6f015
quartz: Silence a fixme that isn't.
2008-05-01 12:35:30 +02:00
Maarten Lankhorst
8099a62469
quartz: Get rid of the sample holding code in the wave parser.
2008-05-01 12:35:30 +02:00
Maarten Lankhorst
0f73bbad8c
quartz: Get rid of the sample holding code in the mpeg splitter.
...
Instead just revert the position slightly, this is a lot easier to maintain.
2008-05-01 12:35:30 +02:00
Maarten Lankhorst
3066116f76
quartz: Clean up pullpin code.
2008-05-01 12:35:30 +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
4afc2ae951
Revert "quartz: Handle failures better in acmwrapper.".
...
This reverts commit 1ba8ece76e
.
Code for holding sample doesn't make sense and shouldn't be there
because it should really be handled by keeping track of the last
successful position of a frame sent and aborting the whole processing
as soon as rejection occurs.
2008-05-01 12:35:30 +02:00
Alexandre Julliard
dad21bbcbf
makefiles: List the static libraries as normal imports instead of extra libs.
2008-04-30 14:23:55 +02:00
Maarten Lankhorst
4e761d2613
quartz: Some state changes fixes.
2008-04-29 12:45:53 +02:00
Maarten Lankhorst
1ba8ece76e
quartz: Handle failures better in acmwrapper.
2008-04-29 12:45:38 +02:00
Maarten Lankhorst
37847b0d9b
quartz: Keep track of the time in the video renderer.
2008-04-29 12:45:31 +02:00
Maarten Lankhorst
1fad872961
quartz: Fix bug in memallocator with test.
2008-04-29 12:45:17 +02:00
Maarten Lankhorst
10708b405c
quartz: Fix acmwrapper time regression.
2008-04-28 14:21:56 +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
ec87de35af
quartz: Make dwSamplesProcessed a longlong.
2008-04-28 14:21:41 +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
b7e20bfdd1
quartz: Fix time discontinuities in the acm wrapper.
2008-04-28 14:21:00 +02:00
Maarten Lankhorst
9e143cdb63
quartz: NotifyAllocator does not like a null argument.
2008-04-28 14:20:53 +02:00
Maarten Lankhorst
1f136a57f7
quartz: Add a vtable argument to Parser_Create that individual filters can override.
2008-04-28 14:20:44 +02:00
Andrew Talbot
523552fcc3
quartz: Remove unused variables.
2008-04-24 11:49:56 +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
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
ec124be823
quartz: Add some sanity checks to file splitter.
2008-04-23 13:02:53 +02:00
Maarten Lankhorst
4abbf915d3
quartz: Copy discontinuity status in acmwrapper.
2008-04-23 13:02:48 +02:00
Maarten Lankhorst
2f736c4a5a
quartz: Fix inverted logic in memallocator.
2008-04-23 13:02:42 +02:00
Maarten Lankhorst
1e9dbcc512
quartz: Fix error message names in tests.
2008-04-23 13:02:36 +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
Austin English
aab8fae59a
Spelling fixes.
2008-04-21 14:25:05 +02:00
Maarten Lankhorst
f9c2d8e2f4
quartz: Add some more tests and fix wine to pass them.
2008-04-21 14:05:38 +02:00
Maarten Lankhorst
810a933f68
quartz: Change longlong printfs.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
c1a4acde01
quartz: Add more seek entries and fix a time continuity bug.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
9d9bf6f158
quartz: Only drop Preroll samples after obtaining its time.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
d7fbc7ef8c
quartz: Drop preroll frames in directsound renderer too.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
fb2c975a8f
quartz: No longer drop packets on discontinuities.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
0458c08b95
quartz: Set media time in the file source.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
172347341a
quartz: Make acmwrapper respect preroll samples.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
d16639d1fa
quartz: Flux AsyncReader in PullPin_BeginFlush.
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
Maarten Lankhorst
119d7caf79
quartz: Fix theoretical memory leak.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
458b09a84d
quartz: Make the video renderer drop preroll samples.
2008-04-21 14:05:37 +02:00
Alexandre Julliard
df75bde180
quartz: Avoid sizeof in traces.
2008-04-17 20:17:03 +02:00
Austin English
313a85f163
Spelling fixes.
2008-04-17 12:25:57 +02:00
Maarten Lankhorst
ebaadba498
quartz: Obtain the duration using the index in avisplitter.
2008-04-17 11:43:05 +02:00
Maarten Lankhorst
1625817113
quartz: Store the stream index in the avi stream for files that have them.
2008-04-17 11:42:50 +02:00
Maarten Lankhorst
a0e8b97ffe
quartz: Check for discontinuities in the directsound renderer.
2008-04-17 11:42:41 +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
405e21d558
quartz: Reject samples in transform filter only when stopped.
...
Use S_FALSE for saying sample is rejected.
2008-04-17 11:42:15 +02:00
Maarten Lankhorst
3dc8384aa9
quartz: Reject samples in video renderer when stopped.
...
When stopped video renderer no longer updates, so don't even try.
2008-04-17 11:42:07 +02:00
Maarten Lankhorst
382a61391f
quartz: Fix IMediaSample2 SetPreroll and SetSyncPoint.
2008-04-17 11:41:58 +02:00
Maarten Lankhorst
cbb0ff37fa
quartz: Fix discontinuities in wave parser.
2008-04-17 11:41:52 +02:00
Maarten Lankhorst
6165d87fc5
quartz: Add a Disconnect function to the parser and use it to clean up allocated memory in avisplitter.
2008-04-16 14:16:23 +02:00
Maarten Lankhorst
aa623d2eff
quartz: Parse old style avi index.
2008-04-16 14:16:09 +02:00
Maarten Lankhorst
f66ad4dbe0
quartz: Make the avi splitter skip index headers.
2008-04-16 14:15:19 +02:00
Maarten Lankhorst
64be38a5b2
quartz: Dump opendml indexes and header.
2008-04-16 14:15:11 +02:00
Maarten Lankhorst
0b32692451
include: Update aviriff header.
2008-04-15 14:34:01 +02:00
Maarten Lankhorst
1281b74956
quartz: Update start_time if the current position is changed.
2008-04-15 14:33:45 +02:00
Maarten Lankhorst
3e9cee050f
quartz: Add VIDEOINFOHEADER2 support to VideoRenderer.
2008-04-15 14:33:36 +02:00
Maarten Lankhorst
ebe438c82a
quartz: Bring waveparser to the same level as the mpeg splitter.
2008-04-14 23:50:13 +02:00
Maarten Lankhorst
ba10e6104a
quartz: Silence seeking fixmes on transform filter.
2008-04-14 23:50:13 +02:00
Maarten Lankhorst
5fb4224f81
quartz: Silence requests for IVideoWindow.
2008-04-14 23:50:13 +02:00
Maarten Lankhorst
c8e31b5bdd
quartz: Set sane defaults for pin stream rate.
2008-04-14 23:50:13 +02:00
Maarten Lankhorst
48f80f6296
quartz: Don't clean up in avi decoder if driver isn't opened.
2008-04-14 23:50:13 +02:00
Maarten Lankhorst
bd324db059
quartz: Add stubs for the IMediaSeeking interface in SeekingPassThru.
2008-04-10 11:31:11 +02:00
Maarten Lankhorst
65e6bbd186
quartz: Add a stub for SeekingPassThru.
2008-04-10 11:31:06 +02:00
Maarten Lankhorst
2734e6332c
quartz: Implement stop position in the mpeg splitter.
2008-04-10 09:50:48 +02:00
Maarten Lankhorst
43f9fff0a0
quartz: Implement stop position in the filtergraph.
2008-04-10 09:48:13 +02:00
Maarten Lankhorst
f2dccab7e3
quartz: Make the directsound renderer handle the Play->Pause->Play position without dropping data.
2008-04-09 12:07:21 +02:00
Maarten Lankhorst
24cac935f0
quartz: Generate a seek table for the mpeg splitter.
...
Speeds up seeking mp3's on large files.
2008-04-09 12:07:16 +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
Michael Stefaniuc
71e9455b73
quartz: Add missing lock releases on some code paths (Smatch).
2008-04-09 11:47:07 +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
4763e83b60
quartz: Don't free a null media type in the file source.
2008-04-09 11:43:05 +02:00
Maarten Lankhorst
de117c1eb5
quartz: Make the DirectSound renderer return S_FALSE packet if in the paused state.
2008-04-09 11:42:59 +02:00
Maarten Lankhorst
8939a41563
quartz: Drop packets in the transform filter if in the wrong state.
2008-04-09 11:42:55 +02:00
Maarten Lankhorst
0117468754
quartz: Try creating the file reader from the filter source first before falling back to the generic async file reader.
2008-04-09 11:42:37 +02:00
Maarten Lankhorst
4bc4457109
quartz: Make mpeg splitter keep track of play position and keep last sample if sending was not successful.
...
This fixes data discontinuities that earlier occured after a
stop/pause command or the downright rejection of a sample (S_FALSE).
2008-04-09 11:42:17 +02:00
Maarten Lankhorst
f4d9c09dd4
quartz: Fix deadlocks in pullpin.
2008-04-08 12:21:00 +02:00
Maarten Lankhorst
d1aa222e85
quartz: Make wait timeout in directsound slightly larger.
2008-04-08 12:20:55 +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
ee792916e0
quartz: Reset EcCompleteCount before starting filters.
...
This sends EC_COMPLETE notifications to the application after a graph has
finished running for the second time.
2008-04-07 11:35:29 +02:00
Maarten Lankhorst
3d3dcc4e07
quartz: Fix past mistake to release lock during seeking and changing state.
2008-04-07 11:35:21 +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