From d912ff19c501d1a02eb8832b863790960981ccae Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 21 May 2023 20:51:32 +0200 Subject: [PATCH] avcodec/fitsenc: mark output packets as keyframes --- libavcodec/fitsenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/fitsenc.c b/libavcodec/fitsenc.c index 12952278ac..86ea11f0c0 100644 --- a/libavcodec/fitsenc.c +++ b/libavcodec/fitsenc.c @@ -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;