mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
* Every frame is a key_frame
Originally committed as revision 470 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4a663d8042
commit
4c3d2e5f86
@ -237,6 +237,9 @@ static int encode_frame(AVCodecContext *avctx,
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
avctx->key_frame = 1;
|
||||
avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
|
||||
|
||||
return dst - frame;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user