Mercurial > libavcodec.hg
comparison h264.h @ 8783:e91ea98d868a libavcodec
Add SEI recovery point frame counter to H264Context and use it when
setting key_frame.
Patch by Ivan Schreter schreter A gmx D net
author | cehoyos |
---|---|
date | Mon, 09 Feb 2009 23:04:16 +0000 |
parents | 4f1567ce75c4 |
children | a5dce344904a |
comparison
equal
deleted
inserted
replaced
8782:bf4b7bde40ab | 8783:e91ea98d868a |
---|---|
498 /** | 498 /** |
499 * pic_struct in picture timing SEI message | 499 * pic_struct in picture timing SEI message |
500 */ | 500 */ |
501 SEI_PicStructType sei_pic_struct; | 501 SEI_PicStructType sei_pic_struct; |
502 | 502 |
503 /** | |
504 * recovery_frame_cnt from SEI message | |
505 * | |
506 * Set to -1 if no recovery point SEI message found or to number of frames | |
507 * before playback synchronizes. Frames having recovery point are key | |
508 * frames. | |
509 */ | |
510 int sei_recovery_frame_cnt; | |
511 | |
503 int is_complex; | 512 int is_complex; |
504 | 513 |
505 int luma_weight_flag[2]; ///< 7.4.3.2 luma_weight_lX_flag | 514 int luma_weight_flag[2]; ///< 7.4.3.2 luma_weight_lX_flag |
506 int chroma_weight_flag[2]; ///< 7.4.3.2 chroma_weight_lX_flag | 515 int chroma_weight_flag[2]; ///< 7.4.3.2 chroma_weight_lX_flag |
507 }H264Context; | 516 }H264Context; |