Commit Graph

982 Commits

Author SHA1 Message Date
Alessandro Pignotti 4910121972 quartz: The filter graph manager should handle GetCurrentPosition itself. 2013-03-05 09:50:03 +01:00
Alessandro Pignotti f53fa4f05b strmbase: Remove code duplicated by every user of ISeekingPassThruImpl. 2013-03-05 09:50:02 +01:00
Alessandro Pignotti d1ff1c0495 quartz: It's not guaranteed that filters have a GUID in the property bag. 2013-03-01 18:03:30 +01:00
Alessandro Pignotti 3271406502 quartz: Get the CLSID directly from the filter. 2013-03-01 18:03:30 +01:00
Alessandro Pignotti 1ebed65e92 quartz: Use the moniker to create the filter directly. 2013-03-01 18:03:30 +01:00
Alessandro Pignotti e583f8806e quartz: Check byte patterns in GetFileSourceFilter.
The idea is to create a temporary AsyncReader and use it to match a
better filter. If no match is found the temporary filter is returned.
2013-02-27 19:23:12 +01:00
Alessandro Pignotti 916854c5a8 quartz: Make GetClassMediaFile visible in the module. 2013-02-27 19:23:11 +01:00
Alessandro Pignotti fb2551c59b quartz: Modify GetClassMediaFile to also extract the SourceFilter value. 2013-02-27 19:23:10 +01:00
Alessandro Pignotti ebc37f45e6 quartz: Properly implement IGraphVersion in IFilterGraph. 2013-02-25 10:40:40 +01:00
Alessandro Pignotti ea16925d8c quartz: IEnumFiltersImpl needs to access data from IGraphFilterImpl. 2013-02-25 10:40:40 +01:00
Andrew Talbot d50189c162 quartz: Avoid signed-unsigned integer comparisons. 2013-02-25 10:40:32 +01:00
Damjan Jovanovic 4bb45afc3f quartz: return the IMemAllocator so the BaseOutputPin can store it and use it, avoiding a NULL pointer crash. 2013-01-17 12:21:40 +01:00
Christian Costa 0c0b229717 quartz: Fix case in some methods name. 2012-11-27 20:55:05 +01:00
Andrew Talbot 17cc65a0df quartz: Remove unused variables. 2012-11-22 11:54:42 +01:00
Christian Costa 80b33cf38b quartz: Remove redundant traces. 2012-10-12 12:12:34 +02:00
Christian Costa c82d96fded quartz: Don't say we have a menu to AdjustWindowRectEx since the created window doesn't have one. 2012-10-10 10:37:11 +02:00
Christian Costa 266e79d05f quartz: Use target rect if set otherwise default to source rect in VideoRenderer_AutoShowWindow. 2012-10-10 10:37:06 +02:00
Christian Costa 03086e87ff quartz: Fill right RECT structure in SetDefaultTargetRec. 2012-10-09 18:32:25 +02:00
Christian Costa 7ea44c0007 quartz: Forward IMediaControl_RenderFile to IFilterGraph2_RenderFile. 2012-10-09 18:32:24 +02:00
Marcus Meissner 791bc1cb93 quartz: Handle freeing pins in error case (Coverity). 2012-09-03 15:49:31 +02:00
Nikolay Sivov 1552e22b0b quartz/tests: Use proper method macros. 2012-08-24 11:32:19 +02:00
Michael Stefaniuc 645e158946 quartz: COM cleanup for the IClassFactory iface. 2012-08-20 15:00:17 +02:00
Marcus Meissner de7635a2f0 quartz: Avoid linked list walk with free next (Coverity). 2012-08-20 10:55:11 +02:00
Nikolay Sivov 17450f0be0 quartz: Use proper method macros. 2012-08-15 12:17:54 +02:00
Michael Stefaniuc 4e57e3bf52 quartz: Remove an object to IFilterGraph2 cast. 2012-07-09 10:00:15 -04:00
Michael Stefaniuc 56e3b22f6c quartz: Use StdMemAllocator_from_IMemAllocator() instead of casts. 2012-07-03 12:02:54 +02:00
Michael Stefaniuc 9262c55a2e quartz: Use unsafe_impl_from_IMediaSample() instead of a cast. 2012-07-03 12:02:46 +02:00
Michael Stefaniuc f557ed6f94 quartz: Avoid a COM object => iface => object round trip. 2012-07-03 12:02:38 +02:00
Michael Stefaniuc b904b6949e quartz: COM cleanup for IMediaSample2. 2012-07-03 12:02:30 +02:00
Michael Stefaniuc 8309a38d6a quartz/tests: Add COM aggregation test for NullRenderer. 2012-07-02 10:58:55 +02:00
Michael Stefaniuc 02216db8ca quartz: Move VideoRenderer_create() to avoid forward declarations. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc 37cfaa2d02 quartz: Standardize COM aggregation for VideoRenderer. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc eb6388c4a5 quartz: Don't set the VideoRenderer object on creation failure. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc d28971a23e quartz: COM cleanup for IAMFilterMiscFlags in VideoRenderer. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc 67cb8da5cb quartz: Move NullRenderer_create() to avoid forward declarations. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc 4e1302c2fb quartz: Use impl_from_IBaseFilter() instead of casts. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc ad75caa483 quartz: Standardize COM aggregation for NullRenderer. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc 3501cb7b12 quartz: COM cleanup for IAMFilterMiscFlags in NullRenderer. 2012-07-02 10:58:33 +02:00
Michael Stefaniuc 7fa17be7c5 quartz: Move the FilterMapper_create to avoid forward declarations. 2012-07-02 10:56:09 +02:00
Michael Stefaniuc d2d3a9c462 quartz: Standardize COM aggregation for FilterMapper. 2012-07-02 10:56:03 +02:00
Michael Stefaniuc 692814e1f2 quartz: Standardize COM aggregation for FilterGraph. 2012-07-02 10:55:56 +02:00
Michael Stefaniuc ec9951892b quartz: Handle wrong COM aggregation attempts in IClassFactory_CreateInstance. 2012-07-02 10:55:41 +02: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
Francois Gouget b5b7947ee8 quartz: Make VMR9_{Break,Complete}Connect() static. 2012-06-08 19:35:17 +02:00
Aric Stewart ac421e3341 quartz: Hookup the VMR-9 to directX and the Allocator-Presenter. 2012-06-07 16:06:49 +02:00
Aric Stewart 583d915520 quartz: Create the rendering window for VMR-9. 2012-06-07 15:56:22 +02:00
Aric Stewart 82a562a603 quartz: Allocate surfaces in VMR-9. 2012-06-07 15:55:24 +02:00
Aric Stewart 3d46f56a14 quartz: Implement default Surface Allocator for vmr9. 2012-06-07 15:53:09 +02:00
Aric Stewart 11f24690d5 quartz: COM cleanup for ParserImpl. 2012-05-24 21:23:29 +02:00
Aric Stewart 7fab2428c8 quartz: COM cleanup for Parser_OutputPin. 2012-05-24 21:23:25 +02:00
Aric Stewart dc53f01810 quartz: COM cleanup for WAVEParserImpl. 2012-05-22 17:43:57 +02:00
Aric Stewart 0352a7fb88 quartz: Add offscreen presentation to VMR9. 2012-05-22 17:43:57 +02:00
Aric Stewart 38c31973d4 quartz: Implement a Default Presenter in VMR9. 2012-05-22 17:43:56 +02:00
Francois Gouget 0f504a17ce quartz/tests: Fix compilation on systems that don't support nameless structs. 2012-05-21 11:34:37 +02:00
Aric Stewart d04552cada quartz: vmr-9 call BaseControlWindow_Destroy when destroying. 2012-05-18 18:14:26 +02:00
Michael Stefaniuc b69811f5ee quartz/tests: Remove misplaced ok() call. 2012-05-16 18:30:23 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Aric Stewart a6dbc28bfe quartz: Handle a crash and race condition that occurs on directsound renderer input pin disconnect. 2012-05-14 12:06:15 +02:00
Aric Stewart fb42513a03 quartz: Reinstate DSoundRender_Pause. 2012-05-14 12:06:15 +02:00
Aric Stewart 821b8a834c quartz: Some cleanup around evComplete now that DSoundRenderer uses baseRenderer. 2012-05-14 12:06:15 +02:00
Jacek Caban 942f2ce792 include: Use widl to take care of nameless structs and unions. 2012-05-14 12:04:17 +02:00
Aric Stewart f58c9661a4 quartz: Have DSoundRenderer use strmbase BasicAudio. 2012-04-30 11:00:26 +02:00
Aric Stewart f38318705c strmbase: Track internal window styles in baseWindow.WindowStyles. 2012-04-26 19:28:03 +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
Francois Gouget a3da9a7ab4 quartz: Mark a bunch of functions as static. 2012-04-20 12:00:16 +02:00
Aric Stewart 6aafd2f1de quartz: Correct a critical section lock reversal issue found by Marcus Meissner (Coverity). 2012-04-19 19:28:10 +02:00
Aric Stewart f6ea0b6cdd quartz: Add control.idl as a typelib resource. 2012-04-09 18:05:16 +02:00
Aric Stewart 69da44106e quartz: Add VMRSurfaceAllocatorNotify9 to VMR9. 2012-04-09 17:57:29 +02:00
Aric Stewart 018161e760 quartz: COM cleanup for PullPin. 2012-04-06 20:45:01 +02:00
Aric Stewart e4656ebc88 quartz: Add VMRWindowlessControl9 to VMR9. 2012-04-05 17:53:11 +02:00
Aric Stewart eb4972017e quartz: Add VMRFilterConfig9 to VMR9. 2012-04-05 17:53:08 +02:00
Aric Stewart 8e79273b0e quartz: Add IAMFilterMiscFlags to VMR9 implementation. 2012-04-05 17:53:05 +02:00
Aric Stewart 76a42b9b9e quartz: Add BaseControlVideo to VMR9. 2012-04-05 14:51:34 +02:00
Aric Stewart 8365b7a372 quartz: Add BaseControlWindow to VMR9. 2012-04-05 14:51:34 +02:00
Aric Stewart d969b80210 quartz: Add initial VMR9 stub. 2012-04-05 14:51:34 +02:00
Aric Stewart 5bc4c1591a quartz: COM cleanup for DSoundRenderImpl. 2012-04-04 17:49:05 +02:00
Aric Stewart 51e3834bfb strmbase: Add IMediaPosition implementation to PosPassThru. 2012-04-04 17:49:04 +02:00
Aric Stewart dbf910b053 quartz: Change VideoRenderer to use strmbase's BaseControlVideo. 2012-04-03 12:20:15 +02:00
Aric Stewart 75300a7e32 quartz: Convert VideoRenderer to use strmbase's BaseControlWindow. 2012-04-03 12:20:03 +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 896be1355b quartz: Convert VideoRenderer to use strmbase BaseRenderer. 2012-04-03 12:18:44 +02:00
Aric Stewart 8830470a8c quartz: Have the VideoRenderer use strmbase BaseWindow. 2012-04-03 12:10:45 +02:00
Aric Stewart 54eafc73e5 strmbase: Implement renderer quality control into the base renderer. 2012-04-03 12:10:33 +02:00
Aric Stewart 821ead201d quartz: Convert DsoundRenderer to use strmbase BaseRenderer. 2012-04-02 14:01:27 +02:00
Aric Stewart 662220f77f strmbase: Expand BaseRenderer implementation. 2012-04-02 14:01:23 +02:00
Aric Stewart c6289fecec quartz: COM cleanup in ACMWrapperImpl. 2012-04-02 14:00:36 +02:00
Aric Stewart 26d33bb1c1 quartz: COM cleanup for AVIDecImpl. 2012-04-02 14:00:30 +02:00
Aric Stewart e7d4d9e4f6 quartz: COM cleanup for AsyncReader and FileAsyncReader. 2012-04-02 14:00:20 +02:00
Aric Stewart 3b85b13e27 quartz: Update null renderer to use the BaseRenderer from strmbase. 2012-03-30 10:44:34 +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 810b619e2b quartz: Print the debug string and not the pointer to it. 2012-03-26 18:15:24 +02: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
Marcus Meissner 90dd4ea9a6 quartz: Fixed sizeof()s to IsBadReadPtr (Coverity). 2012-02-20 11:38:57 +01:00
Aric Stewart c3e2407664 quartz: AMFilterData_ParseFilterData returns a pointer to a pointer to filter data. 2012-02-07 09:30:05 -06:00