Can Not Repaint Window for ARGB data (DirectShow)

J

Jatinder

Hi,

I have a source filter (Directshow) which outputs ARGB32 bit ( Interlaced or
progressive ) video.
Its descriptive output mediatype is

m_mtVideo.cbFormat = sizeof(VIDEOINFOHEADER2);
m_mtVideo.majortype = MEDIATYPE_Video;
m_mtVideo.formattype = FORMAT_VideoInfo2;
m_mtVideo.lSampleSize = m_dwImageSize;
m_mtVideo.subtype = MEDIASUBTYPE_ARGB32;
m_mtVideo.pUnk = NULL;

// If Interlaced data
if(m_pSrcFilter->m_pOutPut->bInterlaced)
pVideoInfo->dwInterlaceFlags = AMINTERLACE_IsInterlaced |
AMINTERLACE_DisplayModeBobOnly;

Now the problem is that when this filter is connected to Video Mixing
Renderer (VMR - 9) , its video is not repainted in output window.

Can any one guide me how to solve the problem ???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top