diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-20 05:36:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-20 05:47:42 +0200 |
commit | 76c3fff2f37c5d8ad0e2fb0b403ec2625a198694 (patch) | |
tree | 790262520801f9e6c5ccd9cdb03e044de2e7230b /libavcodec/h264.h | |
parent | 9e5f79ed8a978450744caceaeec06ef37669d59d (diff) | |
download | ffmpeg-streaming-76c3fff2f37c5d8ad0e2fb0b403ec2625a198694.zip ffmpeg-streaming-76c3fff2f37c5d8ad0e2fb0b403ec2625a198694.tar.gz |
h264: Workaround invalid MPEG-TS broadcasts
Fixes seeking to the first keyframe
Fixes Ticket1029
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 23dcccf..4d07a8a 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -580,6 +580,11 @@ typedef struct H264Context { */ int recovery_frame; + /** + * Are the SEI recovery points looking valid. + */ + int valid_recovery_point; + 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 |