# HG changeset patch # User cehoyos # Date 1235086559 0 # Node ID 617f07022319f2568e1d065dd5584076263c486c # Parent 20c095d77b926e67770e2962ddb5b69db99ed14e Add convergence_duration to AVCodecParserContext. Patch by Ivan Schreter, schreter gmx net diff -r 20c095d77b92 -r 617f07022319 avformat.h --- 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, \ diff -r 20c095d77b92 -r 617f07022319 utils.c --- 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)