mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
aom: Deadline was removed from AV1
https://bugzilla.gnome.org/show_bug.cgi?id=791674
This commit is contained in:
parent
c89f6107cd
commit
8b27637b4a
2 changed files with 3 additions and 3 deletions
|
@ -315,7 +315,7 @@ gst_av1_dec_handle_frame (GstVideoDecoder * dec, GstVideoCodecFrame * frame)
|
|||
return GST_FLOW_ERROR;
|
||||
}
|
||||
|
||||
status = aom_codec_decode (&av1dec->decoder, minfo.data, minfo.size, NULL, 0);
|
||||
status = aom_codec_decode (&av1dec->decoder, minfo.data, minfo.size, NULL);
|
||||
|
||||
gst_buffer_unmap (frame->input_buffer, &minfo);
|
||||
|
||||
|
|
|
@ -350,8 +350,8 @@ gst_av1_enc_handle_frame (GstVideoEncoder * encoder, GstVideoCodecFrame * frame)
|
|||
}
|
||||
av1enc->keyframe_dist++;
|
||||
|
||||
if (aom_codec_encode (&av1enc->codec, &raw, frame->pts, 1, flags,
|
||||
AOM_DL_GOOD_QUALITY) != AOM_CODEC_OK) {
|
||||
if (aom_codec_encode (&av1enc->codec, &raw, frame->pts, 1, flags)
|
||||
!= AOM_CODEC_OK) {
|
||||
gst_av1_codec_error (&av1enc->codec, "Failed to encode frame");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue