aom: Deadline was removed from AV1

https://bugzilla.gnome.org/show_bug.cgi?id=791674
This commit is contained in:
Sean DuBois 2018-01-26 05:20:55 +00:00 committed by Sebastian Dröge
parent c89f6107cd
commit 8b27637b4a
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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");
}