|
|
@@ -51,7 +51,7 @@ public class ActEditVideo extends BaseContainerActivity implements Filterble, Le
|
|
|
|
|
|
private String mCurrentConfig;//滤镜配置
|
|
|
private float mIntensity = 1.0f;
|
|
|
- private int mBeautifyLevel = -1;//磨皮系数
|
|
|
+ private int mBeautifyLevel = 0;//磨皮系数
|
|
|
|
|
|
public static final int REQUEST_CODE_PICK_VIDEO = 1;
|
|
|
|
|
|
@@ -170,10 +170,11 @@ public class ActEditVideo extends BaseContainerActivity implements Filterble, Le
|
|
|
config.append(filter.getConfig());
|
|
|
config.append(" ");
|
|
|
}
|
|
|
- if(mBeautifyLevel > -1){
|
|
|
+ if(mBeautifyLevel > 0){
|
|
|
config.append(BeautifyFilter.getConfig(mBeautifyLevel, G.WIDTH, G.HEIGHT));
|
|
|
}
|
|
|
- mCurrentConfig = config.toString();
|
|
|
+ mCurrentConfig = config.toString().trim();
|
|
|
+ LogUtil.println("initCurrentConfig", mCurrentConfig, filter.getConfig(), mBeautifyLevel);
|
|
|
mPlayerView.setFilterWithConfig(mCurrentConfig);
|
|
|
}
|
|
|
|