ref: a93dd7ca4206e4f13d75f0d352a8a1abb225eab9
parent: 5f1c2078453ff25aca0124a6503965314176beb6
author: Martin Storsjö <[email protected]>
date: Fri Mar 7 07:09:53 EST 2014
Use the slice mode enum in BaseEncoderTest
--- a/test/BaseEncoderTest.cpp
+++ b/test/BaseEncoderTest.cpp
@@ -33,7 +33,7 @@
param.sSpatialLayers[0].fFrameRate = frameRate;
param.sSpatialLayers[0].iSpatialBitrate = param.iTargetBitrate;
- param.sSpatialLayers[0].sSliceCfg.uiSliceMode = 3; // One slice per MB row
+ param.sSpatialLayers[0].sSliceCfg.uiSliceMode = SM_ROWMB_SLICE;
return encoder->InitializeExt(¶m);
}