Update changelog.
[deb_x265.git] / debian / patches / make_it_clear_that_--fast-cbf_is_innefective_at_lower_rd_levels.patch
1 --- a/source/encoder/encoder.cpp
2 +++ b/source/encoder/encoder.cpp
3 @@ -1330,6 +1330,12 @@
4 p->bBPyramid = 0;
5
6 /* Disable features which are not supported by the current RD level */
7 + if (p->rdLevel < 5)
8 + {
9 + if (p->bEnableCbfFastMode) /* impossible */
10 + x265_log(p, X265_LOG_WARNING, "--fast-cbf disabled, requires --rdlevel 5 or higher\n");
11 + p->bEnableCbfFastMode = 0;
12 + }
13 if (p->rdLevel < 4)
14 {
15 if (p->psyRdoq > 0) /* impossible */