mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/fitsenc: mark output packets as keyframes
This commit is contained in:
parent
fd2ca3d4c5
commit
d912ff19c5
|
@ -104,6 +104,7 @@ static int fits_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||
bytes_left = padded_data_size - data_size;
|
||||
memset(bytestream, 0, bytes_left);
|
||||
|
||||
pkt->flags |= AV_PKT_FLAG_KEY;
|
||||
*got_packet = 1;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue