Mercurial > libavformat.hg
diff utils.c @ 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 | 54fded221fb1 |
children | 68138429410b |
line wrap: on
line diff
--- 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)