Commit Graph

54 Commits

Author SHA1 Message Date
Zebediah Figura 0d50d935c2 wineqtdecoder: Use strmbase pin reference counting methods.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 08:51:27 +02:00
Zebediah Figura 42b3fd84bb strmbase: Share pin and filter reference counts in base pin reference counting methods.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 10:26:21 +02:00
Zebediah Figura 9ee197f2f6 wineqtdecoder/qtsplitter: Share source pin and filter reference counts.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 10:26:19 +02:00
Zebediah Figura f194d99d20 wineqtdecoder: Share sink pin and filter reference counts.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 08:57:36 +02:00
Zebediah Figura 690838a0e0 strmbase: Don't increment the pin reference count in filter_get_pin().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 18:21:26 +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 fefdc3232a wineqtdecoder/qtsplitter: Use BaseFilterImpl_Release().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:37:45 +02:00
Zebediah Figura 1fc5c6b75d strmbase: Remove unnecessary calling convention from the filter_get_pin() callback.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura 8a8c5a8229 strmbase: Rename pfnGetPin to filter_get_pin.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura 97546ca0b7 strmbase: Use an unsigned int for the GetPin() callback.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura 43444f4096 strmbase: Rename BaseFilter_Destroy() to strmbase_filter_cleanup().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 09:27:19 +02:00
Zebediah Figura dad885e2b9 strmbase: Get rid of the "pfnGetPinCount" callback.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 10:29:15 +02:00
Zebediah Figura 42b6b85ec0 wineqtdecoder: Fix implementation of QT_GetPin().
strmbase assumes that pins are consecutive.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 10:29:09 +02:00
Zebediah Figura df05902b96 strmbase: Get rid of the "pfnBreakConnect" field from BaseOutputPinFuncTable.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 12:48:18 +02:00
Zebediah Figura 7c46e56ce2 wineqtdecoder: Make QTOutPin_BreakConnect() a local helper.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 12:48:15 +02:00
Zebediah Figura 9be7995448 strmbase: Get rid of the "pfnGetMediaTypeVersion" callback.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-10 16:04:25 +02:00
Zebediah Figura 7e6ab5e53c strmbase: Move "AttemptConnection" to the base source pin function table.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-10 15:54:15 +02:00
Alexandre Julliard 3d6febc997 include: Get rid of the DPRINTF() macro.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 19:34:44 +02:00
Michael Stefaniuc 9629769fe7 wineqtdecoder: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-06 22:05:41 +01:00
Zebediah Figura 466961f2e5 wineqtdecoder: Use CBaseFilter::FindPin().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 14:56:27 +02:00
Zebediah Figura 10ff8f3082 strmbase: Implement QueryAccept() on top of CheckMediaType() for output pins too.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-04 11:01:40 +02:00
Akihiro Sagawa 0eac876e3f wineqtdecoder: Fix reference leaks.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-05 16:10:48 +01:00
Akihiro Sagawa 4def77e4f8 wineqtdecoder: Always pass non-NULL preferred allocator to IAsyncReader::RequestAllocator.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-21 20:57:06 +01:00
Huw Davies ea7825edfa wineqtdecoder: Use thread-safe initialization.
Since commit 46d5973961 QuickTime can be
called from background threads, so use the thread-safe initialization /
destruction routines.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:09:45 +09:00
Aric Stewart d0d7c47b65 wineqtdecoder: Unload the AsyncReader on movie processing failure. 2015-04-02 14:03:30 +09:00
Thomas Faber c6dfc084a5 wineqtdecoder: Destroy BaseFilter after QT child class. 2014-07-22 12:07:27 +02:00
Jacek Caban 289bdc4f45 strmbase: Store BasePinFuncTable inside Base*PinFuncTable structs. 2014-01-06 20:47:02 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Aric Stewart deff27e23e wineqtdecoder: Calculate AvgTimePerFrame for video tracks. 2013-07-22 19:27:18 +02:00
Damjan Jovanovic 8337959c78 Return the IMemAllocator so the BaseOutputPin can store it and use it, avoiding a NULL pointer crash. 2013-01-17 12:21:36 +01:00
Aric Stewart 2a4cab5375 wineqtdecoder: Properly clean up splitter and loader threads on QTSplitter destruction. 2012-11-20 19:47:04 +01:00
Michael Stefaniuc 9d32c28771 wineqtdecoder: Remove duplicated assert.h include. 2012-06-07 10:33:40 +02:00
Francois Gouget 1f6d078e1b Assorted spelling fixes. 2012-06-04 12:17:54 +02:00
Aric Stewart 5e4cb217d6 wineqtdecoder: Recreate audio extraction session when we run out of frames. 2012-05-23 17:40:49 +02:00
Aric Stewart 40456f4bb4 wineqtdecoder: Call OutputQueue_Destroy during pin disconnect. 2012-04-12 21:23:59 +02:00
Aric Stewart d2348911b7 wineqtdecoder: Implement base IQualityControl in QTOutPin. 2012-03-27 20:36:58 +02:00
Aric Stewart e49e32556d wineqtdecoder: COM cleanup. 2012-03-27 11:39:48 +02:00
Aric Stewart d3c5b2c4f1 strmbase: COM cleanup for cleanup SourceSeeking. 2012-03-26 18:15:50 +02:00
Aric Stewart eb5d8b969f strmbase: COM cleanup for BasePin, BaseInputPin, and BaseOutputPin. 2012-03-26 18:15:49 +02:00
Aric Stewart 72550c9d3a wineqtdecoder: Ignore requests for IID_IAMFilterMiscFlags, we do not need to implement it. 2012-03-16 15:38:45 +01:00
Aric Stewart 676754d11a wineqtdecoder: Implement QTSplitter_ChangeStart. 2012-01-19 21:08:52 +01:00
Aric Stewart 8d25bfd524 wineqtdecoder: Add the framework for SourceSeeking to QTSplitter. 2012-01-18 16:27:22 +01:00
Aric Stewart 91f9c5377c wineqtdecoder: Lock thing involved in streaming state in a csReceive critical section. 2012-01-18 16:27:17 +01:00
Aric Stewart 9aa3c74503 wineqtdecoder: Do not invert height. 2012-01-17 11:49:07 +01:00
Aric Stewart 2ea8f8a4a0 wineqtdecoder: Improve and differentiate Sample Time and MediaTime. 2012-01-16 18:17:49 +01:00
Aric Stewart 3ef34d7799 wineqtdecoder: Zero out the whole QTSplitter structure on creation. 2012-01-16 18:17:49 +01:00
Pierre Schweitzer 25ea822f27 wineqtdecoder: Fix handle leak. 2012-01-03 12:37:35 +01:00
Michael Stefaniuc 64f2dad598 wineqtdecoder: Use FAILED instead of !SUCCEEDED. 2011-09-26 12:14:29 +02:00
Marcus Meissner 9450b0eb1e wingstreamer: Set target of parameter pointer, not parameter (Coverity). 2011-07-11 11:53:12 +02:00
Francois Gouget 5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00