IPin::QueryAccept fails to renderer
- From: hvanzyll@xxxxxxxxx
- Date: 19 Oct 2007 14:11:11 -0700
I am trying to get IAMVideoAccelerator interface working...
I'm creating a video decoder filter and finding it hard to get the VMR
to respond according to the documentation.
from what i have read set the Type to MEDIATYPE_Video, and subtype to
the Accel. GUID
In this case I'm using subtype DXVA_NoEncrypt.
But I have tried DXVA_ModeNone & DXVA_ModeMPEG1_A just for testing.
I have tried setting it up as partially specified, or fully specified
filling in the VIDEOINFOHEADER2 structure completely. Unfortunately
the documentation doesn't specify.
I though perhaps partially specified because it should then call the
IAMVideoAcceleratorNotify::GetUncompSurfacesInfo and there is where
the video format gets fully specified. but that function is never
called, yet QueryInterface asks for the IAMVideoAcceleratorNotify
interface so the VMR is aware of the supported interface.
I figure I'm just missing something simple but not sure what.
anyone who can point me in the right direction... it would be greatly
appreciated.
.
- Follow-Ups:
- Re: IPin::QueryAccept fails to renderer
- From: Geraint Davies
- Re: IPin::QueryAccept fails to renderer
- From: Alessandro Angeli
- Re: IPin::QueryAccept fails to renderer
- Prev by Date: Re: Convert to .WMV using WMASF writer
- Next by Date: Re: IPin::QueryAccept fails to renderer
- Previous by thread: IVMRMixerBitmap::SetAlphaBitmap always return VFW_E_WRONG_STATE
- Next by thread: Re: IPin::QueryAccept fails to renderer
- Index(es):
Relevant Pages
|