[Libav-user] (Bug?) Questions about error processing during hardware assisted decoding of H264
wl2776 at gmail.com
Thu Mar 15 07:15:17 CET 2012
I was trying to ak this question in libav-api mailing list, but with no
I'd like to draw your attention to the function field_end(), located in the
Lines 2528 - 2531 contain call to the end_frame function, processing its
return code and writing diagnostic message.
However, the function return code, stored in the variable err, doesn't
depend on this error code.
So, for me, it's obvious bug here.
Beacuse of it, in my application, I'm often getting error messages about
"hardware accelerator failed to decode", and positive result of the call to
avcodec_decode_video2() (got_picture flag is positive).
As a result, my application draws green rectangles instead of dropping
Is such behavior by design?
I tried patching this by assigning err to the return code of the
end_frame(), but it didn't help since return code of the field_end()
function is entirely ignored.
My patch is this:
Could anyone advise me a solution on the best way to signal these errors to
View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-Bug-Questions-about-error-processing-during-hardware-assisted-decoding-of-H264-tp4474014p4474014.html
Sent from the libav-users mailing list archive at Nabble.com.
More information about the Libav-user