mirror of https://git.ffmpeg.org/ffmpeg.git
utvideoenc/v410enc: do not set AVFrame.reference.
That field will be deprecated.
This commit is contained in:
parent
e6b1c3bbe7
commit
231fd1ed39
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue