What should I do when VdpDecoderRender returns an error?
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 :)
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 06:09 PM.|
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.