projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7830483
)
av1enc: Also set AV1E_SET_ROW_MT from the property value when initializing the encoder
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 22 Jul 2019 09:23:51 +0000
(12:23 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 22 Jul 2019 09:23:51 +0000
(12:23 +0300)
Previously it was only set if the property was changed after the encoder
was initialized.
ext/aom/gstav1enc.c
patch
|
blob
|
history
diff --git
a/ext/aom/gstav1enc.c
b/ext/aom/gstav1enc.c
index
ce3baff
..
38e9107
100644
(file)
--- 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;