Commit Graph

311 Commits

Author SHA1 Message Date
Michael Stefaniuc 9fb737de34 strmbase: Handle the failure of CoCreateInstance (PVS-Studio). 2015-01-22 12:04:13 +01:00
Michael Stefaniuc 0f2eca579d strmbase: Remove an unused assignment (PVS-Studio). 2015-01-22 12:04:10 +01:00
Michael Stefaniuc 762eb67698 strmbase: Remove an unused variable (PVS-Studio). 2015-01-13 19:53:57 +01:00
Amine Khaldi 381bca49e0 strmbase: Remove unused InputPin_Vtbl, OutputPin_Vtbl and impl_BaseInputPin_from_BasePin() (Clang). 2014-10-21 20:00:23 +09:00
Amine Khaldi 9a26f0f0d9 strmbase: Remove unused TransformFilter_Vtbl (Clang). 2014-10-20 21:33:39 +09:00
Nikolay Sivov 5bbc402826 strmbase: Remove noop assignment (PVS-Studio). 2014-08-25 10:55:21 +02:00
Erich E. Hoover a9325037b5 strmbase: Fix race condition on InputPin_EndOfStream between csRenderLock and filter.csFilter. 2014-08-05 17:41:21 +02:00
Erich E. Hoover 47425a5801 strmbase: Fix race condition on InputPin_EndFlush between csRenderLock and filter.csFilter. 2014-08-05 17:41:18 +02:00
Erich E. Hoover c22547792a strmbase: Fix race condition on InputPin_BeginFlush between csRenderLock and filter.csFilter. 2014-08-05 17:41:15 +02:00
Thomas Faber 4ea1f35777 strmbase: Separate BasePin destructors from Release. 2014-07-28 17:23:06 -05:00
Thomas Faber 3dbcadc278 strmbase: Destroy base class after child class. 2014-07-21 11:49:59 +02:00
Thomas Faber 992f5345ed strmbase: Separate BaseFilter destructor from Release. 2014-07-21 11:49:53 +02:00
Michael Stefaniuc 974e5af3fe strmbase: Return the iface instead of the object pointer. 2014-02-20 11:18:46 +01:00
Jacek Caban 289bdc4f45 strmbase: Store BasePinFuncTable inside Base*PinFuncTable structs. 2014-01-06 20:47:02 +01:00
Alexandre Julliard af6db67d6f makefiles: Get rid of the MAKE_IMPLIB_RULES variable. 2014-01-02 12:12:59 +01:00
Alexandre Julliard 1cd2786f92 makefiles: Generate cross-compile rules automatically when supported. 2014-01-01 21:28:28 +01:00
Piotr Caban d6f8d8f25b strmbase: Don't pass NULL fetched parameter in BaseOutputPinImpl_Connect on external IPin implementation. 2013-11-26 14:39:56 +01:00
Frédéric Delanoy 50d45a8abc strmbase: Use BOOL type where appropriate. 2013-11-26 10:15:57 +01:00
Piotr Caban 5c8339df4a strmbase: Add structure size parameter in BaseInputPin_Construct function. 2013-11-25 16:28:14 +01:00
Alexandre Julliard e318b4a59c makefiles: Move the static library rules to the global Make.rules file. 2013-10-09 11:25:04 +02:00
Christian Costa 163943058c strmbase: Display iface in traces and new ref in AddRef and Release for IEnumPins. 2013-06-04 10:14:20 +02:00
Marcus Meissner 2ba014bf40 strmbase: Fixed user-after-free (Coverity). 2013-03-25 14:07:35 +01:00
Alessandro Pignotti 0029bbcf48 strmbase: Frame scheduling should use IMediaSample::GetTime. 2013-03-06 11:46:13 +01:00
Alessandro Pignotti f53fa4f05b strmbase: Remove code duplicated by every user of ISeekingPassThruImpl. 2013-03-05 09:50:02 +01:00
Damjan Jovanovic 7f767bb195 strmbase: Store and use the chosen IMemAllocator instead of getting it from the input pin. 2013-01-15 12:18:04 +01:00
Christian Costa 3070dcee3b strmbase: Simplify IEnumMediaTypesImpl_QueryInterface and turn FIXME into WARN. 2012-11-23 14:43:41 +01:00
Christian Costa 9bde31b3ee strmbase: Display iface in TRACEs. 2012-11-23 14:43:36 +01:00
Christian Costa 930c9dd972 strmbase: Display new ref in AddRef and Release for IEnumMediaTypes. 2012-11-23 14:43:31 +01:00
Christian Costa b8a7ead3a3 strmbase: Don't forget to add ref pUnk in CopyMediaType when pbFormat is null. 2012-11-22 17:17:19 +01:00
Christian Costa 44c6ca992e strmbase: Use FreeMediaType instead of freeing media type by hand and forgetting pUnk release. 2012-11-22 17:16:48 +01:00
Michael Stefaniuc c4cdc50739 strmbase: COM cleanup for the IClassFactory iface. 2012-08-20 15:00:05 +02:00
Jacek Caban db82997560 strmbase: Use proper helpers for iface calls. 2012-08-15 12:18:43 +02:00
Aric Stewart c736af74dc strmbase: do not lock in BaseOutputPinImpl_GetDeliveryBuffer the MemInputPin will lock in the required places. 2012-05-14 12:06:14 +02:00
Jacek Caban 942f2ce792 include: Use widl to take care of nameless structs and unions. 2012-05-14 12:04:17 +02:00
Francois Gouget fcda2bd929 strmbase: The strmbase debug channel is unused in a couple of files so remove it. 2012-05-04 18:08:34 +02:00
Michael Stefaniuc 0f46f7538a strmbase: Print the debug string and not the pointer to it. 2012-05-03 20:44:11 +02:00
Aric Stewart a01d6be69f strmbase: Implement BasicAudio. 2012-04-30 11:00:20 +02:00
Aric Stewart f38318705c strmbase: Track internal window styles in baseWindow.WindowStyles. 2012-04-26 19:28:03 +02:00
Aric Stewart 6b9cfd2629 strmbase: get_VideoHeight should always have a positive height. 2012-04-25 12:13:51 +02:00
Aric Stewart 209bc696c1 strmbase: We cannot hold the RenderLock during QualityControlRender_WaitFor. 2012-04-24 11:30:19 +02:00
Aric Stewart d080774e75 strmbase: Have PassThruImpl use BaseDispatch. 2012-04-20 19:15:15 +02:00
Aric Stewart 7d5c4ec1f8 strmbase: Have BaseControlVideo use BaseDispatch. 2012-04-20 19:15:11 +02:00
Aric Stewart c7b12c10d8 strmbase: Have BaseControlWindow use BaseDispatch. 2012-04-20 19:15:08 +02:00
Aric Stewart a37d4b79ab strmbase: Implement BaseDispatch. 2012-04-20 19:15:02 +02:00
Marcus Meissner b964758543 strmbase: Use correct *ppv (Coverity). 2012-04-16 12:07:25 +02:00
Michael Stefaniuc 8a8ba19eaf strmbase: Remove break after return (Smatch). 2012-04-16 11:51:29 +02:00
Aric Stewart 51e3834bfb strmbase: Add IMediaPosition implementation to PosPassThru. 2012-04-04 17:49:04 +02:00
Aric Stewart 109ec4bbab strmbase: Fix issues with new quality control implementation in TransformFilter. 2012-04-04 17:49:04 +02:00
Aric Stewart 9846d02457 strmbase: COM cleanup for PosPassThru. 2012-04-03 12:29:20 +02:00
Aric Stewart 56477075c2 strmbase: Remove QualityControlImpl from the general strmbase.h.
Quality Control things are not part of the standard strmbase library set.
2012-04-03 12:19:17 +02:00
Aric Stewart 54eafc73e5 strmbase: Implement renderer quality control into the base renderer. 2012-04-03 12:10:33 +02:00
Aric Stewart e1a72011e5 strmbase: More additions to BaseRenderer for video renderers. 2012-04-02 14:01:41 +02:00
Aric Stewart 662220f77f strmbase: Expand BaseRenderer implementation. 2012-04-02 14:01:23 +02:00
Christian Costa 67d429f0f3 strmbase: Display dll in which we are searching a class to instanciate. 2012-03-29 20:49:26 +02:00
Aric Stewart eccd9770cc strmbase: Basic BaseRenderer implementation. 2012-03-29 20:49:16 +02:00
Aric Stewart 4ae6f928aa strmbase: Implement BaseControlVideo. 2012-03-29 20:49:16 +02:00
Aric Stewart 73efbff484 strmbase: Implement BaseControlWindow. 2012-03-29 20:49:15 +02:00
Aric Stewart a179b50c9b strmbase: Add beginnings of BaseWindow. 2012-03-28 19:05:06 +02:00
Aric Stewart f1c9bd444c strmbase: COM cleanup for TransformFilter. 2012-03-27 11:40:44 +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 29d3c75442 strmbase: COM cleanup for BaseFilter. 2012-03-26 18:15:48 +02:00
Michael Stefaniuc b485f6c056 strmbase: Print the debug string and not the pointer to it. 2012-03-26 18:15:30 +02:00
Christian Costa 9ee4809dc3 strmbase: Allow constructor function to be NULL but display an error saying we don't implement the CLSID. 2012-03-15 20:18:09 +01:00
Aric Stewart cdf9c4f223 strmbase: Rename MediaSeekingPassThru to RendererPosPassThru to match standard strmbase naming. 2012-03-15 19:50:39 +01:00
Aric Stewart 026037ab69 strmbase: Move the MediaSeekingPassThru functions from quartz into strmbase. 2012-03-15 19:49:21 +01:00
Aric Stewart e2200b31d6 strmbase: Do not hold the csReceive lock when calling the transform's Receive function. 2012-01-23 17:05:11 +01:00
Aric Stewart b32b1a924e strmbase: In the TransformFilter add a critical section that protects the streaming state. 2012-01-17 11:49:28 +01: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 7b8d9e84ac strmbase: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:46 +01:00
Francois Gouget 76b64d9a4a strmbase: Unset Spare[0] before deleting non-static critical sections. 2011-11-14 15:25:27 +01:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Alexandre Julliard db7f8e5749 makefiles: Make MODULE contain the full module name also for static libraries. 2011-07-09 21:13:36 +02:00
Gerald Pfeifer 8bdcf75b09 strmbase: Mark TransformFilter_QualityControlImpl_Notify static. 2011-07-04 20:22:44 +02:00
Marcus Meissner 67ae245a77 strmbase: Move NULL check up a bit (Coverity). 2011-06-27 13:27:17 -05:00
Jörg Höhle 155e4fb6d3 strmbase: Use !list_empty() instead of list_count() > 0. 2011-06-16 11:57:27 +02:00
Marcus Meissner 8377e274a2 strmbase: Removed superflous NULL check (Coverity). 2011-06-14 15:23:01 +02:00
Aric Stewart ed71339d17 strmbase: Add OutputQueue_EOS implementation. 2011-04-06 12:05:08 +02:00
Aric Stewart 928994d986 strmbase: Create OutputQueue for queuing outgoing samples. 2011-04-06 12:05:08 +02:00
Francois Gouget 0eb6e40720 Assorted spelling fixes. 2010-12-13 12:43:29 +01:00
Michael Stefaniuc adfc457234 strmbase: Use an iface instead of a vtbl pointer in IEnumMediaTypesImpl. 2010-12-09 12:24:25 +01:00
Michael Stefaniuc f25a867c87 strmbase: Use an iface instead of a vtbl pointer in IEnumPinsImpl. 2010-12-09 12:21:08 +01:00
Maarten Lankhorst 3f9abe2c28 strmbase: Use advise functions in WaitFor. 2010-12-06 19:16:07 +01:00
Maarten Lankhorst 4416ef9de6 strmbase: Fix reference leak of enumpins. 2010-12-05 12:23:53 +01:00
Maarten Lankhorst 82129d7ad8 strmbase: Fix qos. 2010-11-29 19:43:32 +01:00
Maarten Lankhorst 95897b6819 strmbase: Add support for rendering algorithms to quality control. 2010-11-10 12:16:09 +01:00
Maarten Lankhorst 8363436ea8 strmbase: Silence harmless fixme. 2010-11-10 12:13:54 +01:00
Maarten Lankhorst 5955a349c6 strmbase: Add support for IQualityControl to transform filter. 2010-11-08 13:30:27 +01:00
Maarten Lankhorst 81763bf2ba strmbase: Forward IQualityControl on output pin to base filter. 2010-11-08 13:30:27 +01:00
Maarten Lankhorst 0a4ee68168 strmbase: Add support for IQualityControl. 2010-11-08 13:30:26 +01:00
Maarten Lankhorst 4857772bf2 strmbase: Allow NULL for time format in ConvertTimeFormat. 2010-11-05 17:15:35 +01:00
Michael Stefaniuc ac45ab3d8f strmbase: Remove duplicate 'const' in strmbase.h. 2010-11-03 11:08:55 +01:00
Aric Stewart 7e8751b2e1 strmbase: More properly standardized pin implementations for NewSegment. 2010-11-01 14:53:29 +01:00
Aric Stewart 2c3bc2cf56 strmbase: Implement STRMBASE_DllGetClassObject and STRMBASE_DllCanUnloadNow. 2010-10-20 18:37:09 +02:00
Aric Stewart e479273aca strmbase: Implement OLE registration in AMovieDllRegisterServer2. 2010-10-20 18:37:09 +02:00
Aric Stewart 58468ef152 strmbase: Define STRMBASE_DllMain. 2010-10-20 18:37:09 +02:00
Aric Stewart 6a00d78b39 strmbase: Begin implementations of AMovieDllRegisterServer2 and AMovieSetupRegisterFilter2. 2010-10-20 18:37:09 +02: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 602d44a12c strmbase: Move mediaSeeking to strmbase SourceSeeking. 2010-10-12 11:44:17 +02:00
Aric Stewart 34f3f7cae3 strmbase: Move TransformFilter implementation to strmbase. 2010-10-08 11:04:52 +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 66e1ad8a96 strmbase: Move InputPin implementation to strmbase. 2010-10-06 20:46:48 +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
Aric Stewart 961921060c strmbase: Initial creation of static strmbase library for Quartz and Quartz filters.
Move the Media Type Functions.
2010-10-05 15:56:30 +02:00