Fixed a compile error
This commit is contained in:
parent
9fd1867245
commit
8dd8272969
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ namespace Converter {
|
||||||
encoderCommand << "-vcodec " << vidCodec->first << " ";
|
encoderCommand << "-vcodec " << vidCodec->first << " ";
|
||||||
if (parameters["video"]["codec"].asString() == "h264"){
|
if (parameters["video"]["codec"].asString() == "h264"){
|
||||||
//Enforce baseline
|
//Enforce baseline
|
||||||
ecncoderCommand << "-preset slow -profile:v baseline -level 30 ";
|
encoderCommand << "-preset slow -profile:v baseline -level 30 ";
|
||||||
}
|
}
|
||||||
if (parameters["video"].isMember("fpks")){
|
if (parameters["video"].isMember("fpks")){
|
||||||
encoderCommand << "-r " << parameters["video"]["fpks"].asInt() / 1000 << " ";
|
encoderCommand << "-r " << parameters["video"]["fpks"].asInt() / 1000 << " ";
|
||||||
|
|
Loading…
Add table
Reference in a new issue