diff options
author | Ivan Schreter <schreter@gmx.net> | 2009-02-09 23:04:16 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-02-09 23:04:16 +0000 |
commit | 37a558fe5154be9adaeed23dddf98f224e99cc32 (patch) | |
tree | 59166617315aec494972de78ce09e18633f74a8d /libavcodec/h264.h | |
parent | ed761067550ec784c62b32dd749bbbca62462d89 (diff) | |
download | ffmpeg-37a558fe5154be9adaeed23dddf98f224e99cc32.tar.gz |
Add SEI recovery point frame counter to H264Context and use it when
setting key_frame.
Patch by Ivan Schreter schreter A gmx D net
Originally committed as revision 17109 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index ed9e854bd5..cd960531c5 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -500,6 +500,15 @@ typedef struct H264Context{ */ SEI_PicStructType sei_pic_struct; + /** + * recovery_frame_cnt from SEI message + * + * Set to -1 if no recovery point SEI message found or to number of frames + * before playback synchronizes. Frames having recovery point are key + * frames. + */ + int sei_recovery_frame_cnt; + int is_complex; int luma_weight_flag[2]; ///< 7.4.3.2 luma_weight_lX_flag |