locked
DXVA2 disabled when using debug version of D3D9 RRS feed

  • Question

  • I am playing around with DXVA and video decoding and are having some issues doing so. I am using DXVA2 standalone i.e. not using it in a MediaFoundation pipeline or a DirectShow pipeline. After multiple setups I am ready to call my IDirectXDecoderService::BeginFrame but it always returns E_OUTOFMEMORY. Since I am not able to readily understand what I did wrong I decided to enable the debug version of Direct3D 9. To my surprise many of the calls before my BeginFrame call started to fail. It started to fail on GetDecoderDeviceGuids()... when I use the retail version of D3D9 this works just fine.


    Anyone know if this is "as designed", i.e. that you are not able to run against the debug version dlls when calling into DXVA2?


    This is my configuration:

     

    Vista Ultimate - 32 bits

    ATI x1300 Mobility Graphics Card

    VS.NET 2008 Professional

     

     

    Thanks,

     

    Tuesday, April 8, 2008 4:00 AM

Answers

  • Looks like I have figured out the problem to the E_OUTOFMEMORY error. I supplied the BeginFrame with a surface that wasn't 720x480. When I created a surface that was 720x480 I got a S_OK back...

     

    Tuesday, April 8, 2008 12:15 PM