[FFmpeg-cvslog] avcodec/fitsenc: mark output packets as keyframes
Paul B Mahol
git at videolan.org
Sun May 21 22:06:04 EEST 2023
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun May 21 20:51:32 2023 +0200| [d912ff19c501d1a02eb8832b863790960981ccae] | committer: Paul B Mahol
avcodec/fitsenc: mark output packets as keyframes
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d912ff19c501d1a02eb8832b863790960981ccae
---
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;
More information about the ffmpeg-cvslog
mailing list