nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   What should I do when VdpDecoderRender returns an error? (http://www.nvnews.net/vbulletin/showthread.php?t=132218)

dean1873 04-30-09 04:18 AM

What should I do when VdpDecoderRender returns an error?
 
Hi, everyone,

I call VdpDecoderRender function in my source code, then it return error code 3, which means "An invalid handle value was provided". I checked all the handle, there is no NULL handle. I can't not debug as the decoding work is done inside the hardware ;(

So here is my questions:
1. How can I know which handles passed to the API is the INVALID handle that causes the error?
2. If the VdpPictureInfoH264 structure passed to the API is incorrect, how can I know it?
3. If the bitstream raw data passed to the API is incorrect, how can I know it?
4. Any debug skills on VDPAU linux? I really appreciate them!

Thank you for times :)

Stephen Warren 05-04-09 11:25 AM

Re: What should I do when VdpDecoderRender returns an error?
 
The error code returned by VDPAU can't possibly have enough values to specify that level of information, and doesn't try.

You'll simply have to run under a debugger (or with VDPAU_TRACE environment variable set) and correlate all the handle values that the application is passing to this function against the handles that were previously allocated.


All times are GMT -5. The time now is 04:49 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.