[FFmpeg-trac] #1071(avcodec:new): Error return code from hardware decoder is ignored in h264 decoder

FFmpeg trac at avcodec.org
Thu Mar 15 13:53:00 CET 2012


#1071: Error return code from hardware decoder is ignored in h264 decoder
------------------------------------+-----------------------------------
             Reporter:  wl2776      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  h264 dxva2  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by wl2776):

 Replying to [comment:6 cehoyos]:
 > Didn't you write that got_picture actually is 0 in such cases?
 Yes, I did.

 I've added analysis of the field_end() return code and calls to av_log in
 case of error in decode_frame and decode_slice_header.

 Till now I've seen that got_picture was 360 after such an error. This has
 happened, however, only once during 2 hours of testing.

 And in the debug output above in my comment3, got_picture is 360 (not
 zero), and there are no error messages about errors in field_end() - so
 such green frames are returned even after, probably, successfull decoding

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1071#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list