How to show the texture from video decoder on render target? RRS feed

  • Question

  • Dear all,

    I would like to show a video on my DirectX application and utilize the HW acceleration for decoding.

    I use the SourceReader and get the D3D11 texture from the output MF sample.But I found the bind flag of the texture is D3D11_BIND_DECODER. According to the document, the texture can't be used in CreateShaderResourceView.

    If so, how can I show the video texture on my rendering target?


    • Edited by JanChen Thursday, December 22, 2011 3:22 AM
    Thursday, December 22, 2011 3:21 AM