mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-09 22:18:04 +00:00
make keyframe default for AVFrames
Originally committed as revision 3920 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3c8e39f72d
commit
c342499df2
@ -483,6 +483,7 @@ void avcodec_get_frame_defaults(AVFrame *pic){
|
|||||||
memset(pic, 0, sizeof(AVFrame));
|
memset(pic, 0, sizeof(AVFrame));
|
||||||
|
|
||||||
pic->pts= AV_NOPTS_VALUE;
|
pic->pts= AV_NOPTS_VALUE;
|
||||||
|
pic->key_frame= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user