Can Not Repaint Window for ARGB data (DirectShow)

  • Thread starter Thread starter Jatinder
  • Start date Start date
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 ???
 
Back
Top