locked
Direct3D-Aware MFTs RRS feed

  • Question

  • I tried to implement Direct3D-Aware version of MFTGrayScale (SDK Sample code).

    I follow the instructions described in below link step by step.

    http://msdn.microsoft.com/en-us/library/windows/desktop/ee663585(v=vs.85).aspx

    But when I tried to get the Direct3dSurface from the buffer using MFGetService 

       MFGetService(pBuffer, MR_BUFFER_SERVICE, IID_PPV_ARGS(ppSurface));

    It always return E_NOINTERFACE 

    Can anyone tell me how to get the Direct3dSurface from the buffer ?

    Please tell me the proper way to make a Direct3D-aware MFT

    Any suggestion are greatly appreciated

    Many Thanks,

    Hendrik



    • Edited by BaoBaoE Friday, October 26, 2012 11:38 AM
    Friday, October 26, 2012 11:32 AM