From 67ccaf904d1f54532e41ede85dd0e609e97b578f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 22 Jul 2019 12:23:51 +0300 Subject: [PATCH] av1enc: Also set AV1E_SET_ROW_MT from the property value when initializing the encoder Previously it was only set if the property was changed after the encoder was initialized. --- ext/aom/gstav1enc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/aom/gstav1enc.c b/ext/aom/gstav1enc.c index ce3baff99f..38e9107a44 100644 --- a/ext/aom/gstav1enc.c +++ b/ext/aom/gstav1enc.c @@ -686,6 +686,8 @@ gst_av1_enc_set_format (GstVideoEncoder * encoder, GstVideoCodecState * state) av1enc->encoder_inited = TRUE; GST_AV1_ENC_APPLY_CODEC_CONTROL (av1enc, AOME_SET_CPUUSED, av1enc->cpu_used); + GST_AV1_ENC_APPLY_CODEC_CONTROL (av1enc, AV1E_SET_ROW_MT, + (av1enc->row_mt ? 1 : 0)); g_mutex_unlock (&av1enc->encoder_lock); return TRUE;