You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/fitsenc: mark output packets as keyframes
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user