mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Add convergence_duration to AVCodecParserContext.
Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e9259f8d18
commit
b1fa494205
4 changed files with 22 additions and 2 deletions
|
|
@ -909,6 +909,8 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue