changeset 4547:617f07022319 libavformat

Add convergence_duration to AVCodecParserContext. Patch by Ivan Schreter, schreter gmx net
author cehoyos
date Thu, 19 Feb 2009 23:35:59 +0000
parents 20c095d77b92
children 2c9ebc4029ae
files avformat.h utils.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avformat.h	Thu Feb 19 23:24:41 2009 +0000
+++ b/avformat.h	Thu Feb 19 23:35:59 2009 +0000
@@ -23,7 +23,7 @@
 
 #define LIBAVFORMAT_VERSION_MAJOR 52
 #define LIBAVFORMAT_VERSION_MINOR 29
-#define LIBAVFORMAT_VERSION_MICRO  1
+#define LIBAVFORMAT_VERSION_MICRO  2
 
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
                                                LIBAVFORMAT_VERSION_MINOR, \
--- a/utils.c	Thu Feb 19 23:24:41 2009 +0000
+++ b/utils.c	Thu Feb 19 23:35:59 2009 +0000
@@ -909,6 +909,8 @@
         else if (pc->key_frame == -1 && pc->pict_type == FF_I_TYPE)
             pkt->flags |= PKT_FLAG_KEY;
     }
+    if (pc)
+        pkt->convergence_duration = pc->convergence_duration;
 }
 
 void av_destruct_packet_nofree(AVPacket *pkt)