changeset 5774:c69ef62da2b6

rd: fix incorrect check for rdlevel Merge-skip check should be only for rdlevel 2
author Deepthi Devaki <deepthidevaki@multicorewareinc.com>
date Wed, 18 Dec 2013 17:25:13 +0530
parents edeccf4c6cdd
children 3e98f0e66e0b
files source/encoder/compress.cpp
diffstat 1 files changed, 1 insertions(+-), 1 deletions(-) [+]
line wrap: on
line diff
--- a/source/encoder/compress.cpp	Wed Dec 18 16:03:19 2013 +0530
+++ b/source/encoder/compress.cpp	Wed Dec 18 17:25:13 2013 +0530
@@ -580,7 +580,7 @@ void TEncCu::xCompressInterCU(TComDataCU
                         }
                     }
                     //Check Merge-skip
-                    if (m_cfg->param.rdLevel <= 2)
+                    if (m_cfg->param.rdLevel == 2)
                     {
                         if (!(outBestCU->getPredictionMode(0) == MODE_INTER && outBestCU->getPartitionSize(0) == SIZE_2Nx2N && outBestCU->getMergeFlag(0)))
                         {