68 Commits

Author SHA1 Message Date
Zebediah Figura
fb504baaa8 strmbase: Build with msvcrt.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:49:31 +02:00
Zebediah Figura
8f4194f311 quartz/parser: Store the source pins as an array of Parser_OutputPin pointers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 09:34:26 +02:00
Zebediah Figura
e8510660e6 quartz/parser: Don't store the sink pin in the "ppPins" array.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 09:34:24 +02:00
Zebediah Figura
31a5cb5f05 strmbase: Support aggregation in the base filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 23:05:25 +02:00
Zebediah Figura
144e97bbd5 quartz/mpegsplit: Use BaseFilterImpl_QueryInterface().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 10:10:10 +02:00
Zebediah Figura
97cf9ab43a quartz: Use strmbase filter methods directly.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:45:37 +02:00
Zebediah Figura
23daccb0da quartz/mpegsplit: Use BaseFilterImpl_Release().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:45:37 +02:00
Zebediah Figura
b883b69e77 quartz/parser: Pass a BaseFilterFuncTable to Parser_Create().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-28 12:06:46 +02:00
Zebediah Figura
69e654a684 quartz: Use CONTAINING_RECORD instead of casting.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:20:57 +02:00
Zebediah Figura
dc6e0a6cb5 quartz/mpegsplit: Fix sink pin name.
This fixes a bug with Neocron 2, which uses FindPin() to retrieve the
sink pin.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Zebediah Figura
d88218324b quartz: Use CBaseFilter::FindPin().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:27 +02:00
Bruno Jesus
89d4e14c0a quartz: Take MP3 padding bit into account when calculating the block size.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:30:37 +01:00
Nikolay Sivov
c6110acfda quartz: Remove some interface pointer casts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 23:34:26 +09:00
Michael Stefaniuc
b5a7853b86 quartz: Remove redundant NULL checks before CoTaskMemFree().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:12:41 +09:00
Anton Baskanov
b75eb2f91e quartz: Add stub IAMStreamSelect to MPEG-1 Stream Splitter.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 20:45:18 +09:00
Nikolay Sivov
5fb58eae3b quartz: Minor cleanup of returned interface pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 21:09:10 +09:00
Bruno Jesus
3f55d106fa quartz: Cope with invalid MP3 headers being detect as valid.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:40 +09:00
Akihiro Sagawa
e4823f9b27 quartz: Use boolean constants for BOOL. 2015-09-14 16:47:52 +09:00
Bruno Jesus
66694cc043 quartz: Avoid audio header test code duplication.
The function MPEGSplitter_head_check does exactly the same test.
2015-09-14 16:47:51 +09:00
Michael Stefaniuc
33136293ba quartz: Remove some unused assignments (PVS-Studio). 2015-01-21 15:29:03 +01:00
André Hentschel
bf12844bf1 quartz: Remove unused code (Clang). 2014-12-02 10:48:37 +01:00
Chris Robinson
2ccc5bd2c7 quartz: Remove the seek position table from the MPEG splitter.
It takes a good 0.5 seconds for MPEGSplitter_pre_connect to iterate over the
file and build the table for a standard 2 or 3 minute MP3. This causes
unsightly hiccups when an app tries to play a new file, particularly in games,
as the pre-connect needs to happen synchronously to tell whether it can
succeed or not.
2012-06-26 17:06:10 +02:00
Chris Robinson
3b454e8a68 quartz: Improve MPEG header parsing and sync recovery. 2012-06-25 10:34:52 +02:00
Chris Robinson
037cefc43b quartz: Fix frame length calculation for MPEG audio. 2012-06-25 10:34:47 +02:00
Aric Stewart
7fab2428c8 quartz: COM cleanup for Parser_OutputPin. 2012-05-24 21:23:25 +02:00
Aric Stewart
018161e760 quartz: COM cleanup for PullPin. 2012-04-06 20:45:01 +02:00
Aric Stewart
d3c5b2c4f1 strmbase: COM cleanup for cleanup SourceSeeking. 2012-03-26 18:15:50 +02:00
Aric Stewart
026037ab69 strmbase: Move the MediaSeekingPassThru functions from quartz into strmbase. 2012-03-15 19:49:21 +01:00
Michael Stefaniuc
a948e5e474 quartz: Free two assert calls from having side effects. 2011-10-08 17:38:34 +02:00
Maarten Lankhorst
12e132e9be quartz: Fix support for mpeg layer 1 and 2. 2011-09-27 16:53:59 +02:00
Erich Hoover
cd4ee69ef3 quartz: Samples should be freed when IAsyncReader::Request fails. 2011-09-12 16:49:57 +02:00
Maarten Lankhorst
8c42595c34 quartz: Fix time on MPEG splitter. 2010-11-08 13:30:24 +01:00
Aric Stewart
602d44a12c strmbase: Move mediaSeeking to strmbase SourceSeeking. 2010-10-12 11:44:17 +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
Gerald Pfeifer
5fd618a0cd quartz: Remove unused variable pOutputPin from MPEGSplitter_process_sample. 2010-05-12 14:13:15 +02:00
Juan Lang
e73f31a6ef quartz: Don't crash if sample allocation fails. 2009-08-28 11:54:49 +02:00
Christian Costa
74c07a141e quartz: Data may be incomplete at the end of file so do not assert if we have less data than expected. 2009-04-14 11:28:34 -05:00
Michael Stefaniuc
cc7fc4abef quartz: Remove superfluous pointer casts. 2009-01-29 14:06:01 +01:00
Andrew Talbot
a19ff5f07b quartz: Sign-compare warnings fix. 2008-11-05 10:56:54 +01:00
Rob Shearman
a35431a194 quartz: Use memcmp instead of strncmp in MPEGSplitter_pre_connect.
header isn't a string and therefore using strncmp doesn't make sense.
2008-08-18 17:34:13 +02:00
Maarten Lankhorst
98f0b5f479 quartz: Reset time when rejecting sample in the mpeg splitter. 2008-05-13 11:21:12 +02:00
Francois Gouget
633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +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
512ee927cb quartz: Add a function that can be called when stopping processing data. 2008-04-28 14:21: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
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
c1a4acde01 quartz: Add more seek entries and fix a time continuity bug. 2008-04-21 14:05:37 +02:00