[vlc-commits] aom: remove deadline parameter
Tristan Matthews
git at videolan.org
Wed Jan 31 07:58:41 CET 2018
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed Jan 31 01:30:54 2018 -0500| [6d2075c9280b32a6bba33e74204de71932197d93] | committer: Tristan Matthews
aom: remove deadline parameter
This was dropped in aom commit 47cc25591c36fafcc36e11109e5c36531353cdd9.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d2075c9280b32a6bba33e74204de71932197d93
---
modules/codec/aom.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/codec/aom.c b/modules/codec/aom.c
index e3eec68362..25a6b02dce 100644
--- a/modules/codec/aom.c
+++ b/modules/codec/aom.c
@@ -174,7 +174,7 @@ static int Decode(decoder_t *dec, block_t *block)
*pkt_pts = block->i_pts;
aom_codec_err_t err;
- err = aom_codec_decode(ctx, block->p_buffer, block->i_buffer, pkt_pts, 0);
+ err = aom_codec_decode(ctx, block->p_buffer, block->i_buffer, pkt_pts);
block_Release(block);
@@ -447,8 +447,7 @@ static block_t *Encode(encoder_t *p_enc, picture_t *p_pict)
}
}
- aom_codec_err_t res = aom_codec_encode(ctx, &img, p_pict->date, 1, 0,
- AOM_DL_GOOD_QUALITY);
+ aom_codec_err_t res = aom_codec_encode(ctx, &img, p_pict->date, 1, 0);
if (res != AOM_CODEC_OK) {
AOM_ERR(p_enc, ctx, "Failed to encode frame");
aom_img_free(&img);
More information about the vlc-commits
mailing list