PDA

View Full Version : Need help getting an interface to an overlay filter



Unregistered
March 5, 2008, 18:30:33
Her is what I have it is in C#

object capObMVBMOverlay = null;
Guid gbfMVBMOverlay = typeof(IBaseFilter).GUID;
DsDevice dsMVBMOverlay = GraphUtil.GetDevice("MV Bitmap Overlay", MontiVisionImageProcessingFilters);

dsMVBMOverlay.Mon.BindToObject(null, null, ref gbfMVBMOverlay, out capObMVBMOverlay);
IBaseFilter MVBMOverlayFilter = (IBaseFilter)capObMVBMOverlay;
hr = graphBuilder.AddFilter(MVBMOverlayFilter, "MV Bitmap Overlay");

MVVMRWrapper.IMVVMRMixerBitmap m_VMRMixerBitmap = MVBMOverlayFilter as MVVMRWrapper.IMVVMRMixerBitmap;

The problem is I want to get the IMVVMRMixerBitmap interface for this filter. Any ideas because this is not working

Marc Cymontkowski
March 5, 2008, 20:38:49
Hi,

Did you receive the updated filters I sent an hour ago in a ZIP file?


Regards,

Marc