You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
utvideoenc/v410enc: do not set AVFrame.reference.
That field will be deprecated.
This commit is contained in:
@@ -598,7 +598,6 @@ static int utvideo_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
* At least currently Ut Video is IDR only.
|
* At least currently Ut Video is IDR only.
|
||||||
* Set flags accordingly.
|
* Set flags accordingly.
|
||||||
*/
|
*/
|
||||||
avctx->coded_frame->reference = 0;
|
|
||||||
avctx->coded_frame->key_frame = 1;
|
avctx->coded_frame->key_frame = 1;
|
||||||
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
|
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
|
||||||
|
|
||||||
|
@@ -56,7 +56,6 @@ static int v410_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
}
|
}
|
||||||
dst = pkt->data;
|
dst = pkt->data;
|
||||||
|
|
||||||
avctx->coded_frame->reference = 0;
|
|
||||||
avctx->coded_frame->key_frame = 1;
|
avctx->coded_frame->key_frame = 1;
|
||||||
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
|
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user