Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Nakamura <muken.the.vfrmaniac@gmail.com>2013-08-02 13:16:48 +0400
committerDiego Biurrun <diego@biurrun.de>2013-08-02 22:59:45 +0400
commita8b19271c3b40ac3c3dc769fe248887acf14ba5a (patch)
tree9c5f375c02f1496f7f3c9859e6496e7509d61d52 /libavcodec/avcodec.h
parent7950e519bb094897f957b9a9531cc60ba46cbc91 (diff)
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.h8
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 {