[FFmpeg-devel] [PATCH 1/1] h264: remove skip of h264 parsing independent of skip_frame

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Dec 16 02:07:34 CET 2013

Joakim Plate <elupus <at> ecce.se> writes:

> This give a small performance hit since we do complete stream
> parsing. The actual slice decoding of frame's are still skipped.
> With this change, decoder can be set to AVDISCARD_ALL and still
> calculate has_b_frame and similar fields correctly.

If this is so important, why not only skip the "continue" 
for AVDISCARD_ALL (which makes little sense anyway)? I 
suspect people setting NONREF really need that little 
performance win.

Carl Eugen

More information about the ffmpeg-devel mailing list