IPin::QueryAccept fails to renderer



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.

.



Relevant Pages

  • Re: IPin::QueryAccept fails to renderer
    ... I'm creating a video decoder filter and finding it hard to get the VMR ... to respond according to the documentation. ... the documentation doesn't specify. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: RFC: Package == class == object type
    ... > I could reverse the parameter sequence so that the block type is ... have 'value 2' you still must specify a place holder, ... Which makes the interface less flexible in the future, ... lists, which need to be passed as references, in which case explicitly ...
    (perl.beginners)
  • Re: Thread safety tips
    ... > I do not understand what you mean by specify? ... > methods specify thread-safety ... I do not understand your reference to "non-abstract methods". ... of an interface are *abstract* by definition. ...
    (comp.lang.java.gui)
  • Re: A puzzling question
    ... > satisfy any IUnknown calls locally. ... Well, on a call to CoCreateInstance, you specify the interface you want ... would have to specify IID_IUnknown to the remote server's CoCreateInstance, ...
    (microsoft.public.vc.atl)
  • Re: A puzzling question
    ... >> satisfy any IUnknown calls locally. ... > Well, on a call to CoCreateInstance, you specify the interface you ...
    (microsoft.public.vc.atl)