<div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 27, 2024 at 3:35 PM Anusuya Kumarasamy <<a href="mailto:anusuya.kumarasamy@multicorewareinc.com">anusuya.kumarasamy@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">From 36dca9c2c5b49652a45ff638aad2f319fbadefa6 Mon Sep 17 00:00:00 2001<br>From: AnusuyaKumarasamy <<a href="mailto:anusuya.kumarasamy@multicorewareinc.com" target="_blank">anusuya.kumarasamy@multicorewareinc.com</a>><br>Date: Fri, 27 Sep 2024 10:21:39 +0530<br>Subject: [PATCH 5/5] Fix mcstf crash when using multiple frame threads<br><br>---<br> doc/reST/cli.rst | 2 ++<br> source/common/param.cpp | 2 +-<br> 2 files changed, 3 insertions(+), 1 deletion(-)<br><br>diff --git a/doc/reST/cli.rst b/doc/reST/cli.rst<br>index a4907f7d2..619533081 100755<br>--- a/doc/reST/cli.rst<br>+++ b/doc/reST/cli.rst<br>@@ -1324,6 +1324,8 @@ Temporal / motion search options<br> combined by using adaptive filtering to produce a final noise-reduced picture.<br> Default: disabled<br> <br>+ Note : MCSTF should be enabled only with frame threads 1<br>+<br> Spatial/intra options<br> =====================<br> <br>diff --git a/source/common/param.cpp b/source/common/param.cpp<br>index ceef42589..4c043175f 100755<br>--- a/source/common/param.cpp<br>+++ b/source/common/param.cpp<br>@@ -1939,7 +1939,7 @@ int x265_check_params(x265_param* param)<br> param->bSingleSeiNal = 0;<br> x265_log(param, X265_LOG_WARNING, "None of the SEI messages are enabled. Disabling Single SEI NAL\n");<br> }<br>- if (param->bEnableTemporalFilter && (param->frameNumThreads > 1))<br>+ if (param->bEnableTemporalFilter && (param->frameNumThreads != 1))<br> {<br> param->bEnableTemporalFilter = 0;<br> x265_log(param, X265_LOG_WARNING, "MCSTF can be enabled with frame thread = 1 only. Disabling MCSTF\n");<br>-- <br>2.36.0.windows.1<br><br></div>
</blockquote></div>