mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 07:12:46 +01:00
Merge pull request #5126 from lioncash/deprecated
codec: Remove deprecated usage of AVCodecContext::refcounted_frames
This commit is contained in:
commit
1c8de85045
1 changed files with 0 additions and 1 deletions
|
@ -67,7 +67,6 @@ void Codec::Decode() {
|
||||||
}
|
}
|
||||||
|
|
||||||
av_codec_ctx = avcodec_alloc_context3(av_codec);
|
av_codec_ctx = avcodec_alloc_context3(av_codec);
|
||||||
av_codec_ctx->refcounted_frames = 1;
|
|
||||||
av_opt_set(av_codec_ctx->priv_data, "tune", "zerolatency", 0);
|
av_opt_set(av_codec_ctx->priv_data, "tune", "zerolatency", 0);
|
||||||
|
|
||||||
// TODO(ameerj): libavcodec gpu hw acceleration
|
// TODO(ameerj): libavcodec gpu hw acceleration
|
||||||
|
|
Loading…
Reference in a new issue