Merge commit '91f9b6579ac684c4b51c4cd0dbaed0a4f8295edf'
* commit '91f9b6579ac684c4b51c4cd0dbaed0a4f8295edf': flashsvenc: Keep coded_frame.key_frame a write-only variable Merged-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
commit
439c9760b0
@ -271,7 +271,7 @@ static int flashsv_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
avctx->coded_frame->key_frame = 0;
|
avctx->coded_frame->key_frame = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (avctx->coded_frame->key_frame)
|
if (I_frame)
|
||||||
pkt->flags |= AV_PKT_FLAG_KEY;
|
pkt->flags |= AV_PKT_FLAG_KEY;
|
||||||
*got_packet = 1;
|
*got_packet = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user