diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-10-27 20:37:34 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-10-28 23:42:57 -0700 |
commit | 38a4be3fa7a7bb83f0a553577427e916a7bda390 (patch) | |
tree | 7e3ea76dfc4dfcc5bf09870a7e7f0c8b82a0cfda /libavformat/avformat.h | |
parent | 640d5f1c801061844394813c78ea449e5826f6e5 (diff) | |
download | ffmpeg-38a4be3fa7a7bb83f0a553577427e916a7bda390.tar.gz |
lavf: use number of output pictures for delay checks.
This fixes false positives of has_codec_delay_been_guessed() for
streams where not every input picture generates an output picture,
such as interlaced H264.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index d16be90c8f..dd40c7fafb 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -657,6 +657,7 @@ typedef struct AVStream { int duration_count; double duration_error[MAX_STD_TIMEBASES]; int64_t codec_info_duration; + int nb_decoded_frames; } *info; #if !FF_API_REORDER_PRIVATE const uint8_t *cur_ptr; |