1
0
Fork 0

avcodec/fitsenc: mark output packets as keyframes

This commit is contained in:
Paul B Mahol 2023-05-21 20:51:32 +02:00
parent fd2ca3d4c5
commit d912ff19c5
1 changed files with 1 additions and 0 deletions

View File

@ -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;