[x265] [PATCH 1 of 2] Add option to enable slice-based SAO filter

Mario *LigH* Rohkrämer contact at ligh.de
Mon Sep 16 11:01:12 CEST 2019


redbtn in the doom9 forums reported an issue in source/common/param.cpp:

pooja at multicorewareinc.com schrieb am 11.09.2019 um 19:18:
> @@ -1971,6 +1984,7 @@
>       BOOL(p->bEnableSAO, "sao");
>       BOOL(p->bSaoNonDeblocked, "sao-non-deblock");
>       s += sprintf(s, " rd=%d", p->rdLevel);
> +    s += sprintf(s, "selective-sao=%d", p->selectiveSAO);
>       BOOL(p->bEnableEarlySkip, "early-skip");
>       BOOL(p->bEnableRecursionSkip, "rskip");
>       BOOL(p->bEnableFastIntra, "fast-intra");

A missing space causes the embedded parameter string to be invalid.

-    s += sprintf(s, "selective-sao=%d", p->selectiveSAO);
+    s += sprintf(s, " selective-sao=%d", p->selectiveSAO);

-- 

Fun and success!

Mario *LigH* Rohkrämer
maito:contact at ligh.de


More information about the x265-devel mailing list