mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
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.
This commit is contained in:
parent
783048309f
commit
67ccaf904d
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue