aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorIvan Schreter <schreter@gmx.net>2009-02-18 23:33:30 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-02-18 23:33:30 +0000
commit2ea89d9274bf27419239c05182c23d30c402cb22 (patch)
treede3f3941adc5fdb9395942e74d7fef22d8a5803f /libavcodec/h264.h
parent31866c46773baac7d8b93db2941f7a630c9adb52 (diff)
downloadffmpeg-2ea89d9274bf27419239c05182c23d30c402cb22.tar.gz
Parse buffering period (H.264, D.1.1).
Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17441 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 4a77d25d7d..9331e22358 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -115,6 +115,7 @@ enum {
* SEI message types
*/
typedef enum {
+ SEI_BUFFERING_PERIOD = 0, ///< buffering period (H.264, D.1.1)
SEI_TYPE_PIC_TIMING = 1, ///< picture timing
SEI_TYPE_USER_DATA_UNREGISTERED = 5, ///< unregistered user data
SEI_TYPE_RECOVERY_POINT = 6 ///< recovery point (frame # to decoder sync)
@@ -525,6 +526,10 @@ typedef struct H264Context{
int luma_weight_flag[2]; ///< 7.4.3.2 luma_weight_lX_flag
int chroma_weight_flag[2]; ///< 7.4.3.2 chroma_weight_lX_flag
+
+ // Timestamp stuff
+ int sei_buffering_period_present; ///< Buffering period SEI flag
+ int initial_cpb_removal_delay[32]; ///< Initial timestamps for CPBs
}H264Context;
#endif /* AVCODEC_H264_H */