How to work with AMMediaType for video filters
问题 I am using Video Resizer DSP Video Resizer DSP to resize my video. I work with Lazarus Free Pascal and DSPack. This site explains how to use: http://alax.info/blog/1371 CoCreateInstance the DSP as DMO and add it to DMO Wrapper Filter Use IWMResizerProps::SetFullCropRegion to initialize the DSP Connect input pin Set output type via IMediaObject::SetOutputType IGraphBuilder::ConnectDirect output pin I write this: //Create Resizer DMO hr := CoCreateInstance(CLSID_DMOWrapperFilter, NIL, CLSCTX