mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
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.
|
||||
* Set flags accordingly.
|
||||
*/
|
||||
avctx->coded_frame->reference = 0;
|
||||
avctx->coded_frame->key_frame = 1;
|
||||
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;
|
||||
|
||||
avctx->coded_frame->reference = 0;
|
||||
avctx->coded_frame->key_frame = 1;
|
||||
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user