diff options
author | Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> | 2013-08-02 18:16:48 +0900 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-08-02 20:59:45 +0200 |
commit | a8b19271c3b40ac3c3dc769fe248887acf14ba5a (patch) | |
tree | 9c5f375c02f1496f7f3c9859e6496e7509d61d52 /libavcodec/avcodec.h | |
parent | 7950e519bb094897f957b9a9531cc60ba46cbc91 (diff) | |
download | ffmpeg-a8b19271c3b40ac3c3dc769fe248887acf14ba5a.tar.gz |
avcodec: Add output_picture_number to AVCodecParserContext
Set output_picture_number in H.264 parser.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index bd9a80c5ee..a84c0130a9 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3563,6 +3563,14 @@ typedef struct AVCodecParserContext { * AV_PICTURE_STRUCTURE_TOP_FIELD. */ enum AVPictureStructure picture_structure; + + /** + * Picture number incremented in presentation or output order. + * This field may be reinitialized at the first picture of a new sequence. + * + * For example, this corresponds to H.264 PicOrderCnt. + */ + int output_picture_number; } AVCodecParserContext; typedef struct AVCodecParser { |