From 0c65ba87df7fe2ba7bece61ae223e4c1bd9db707 Mon Sep 17 00:00:00 2001 From: Erik Zandvliet Date: Tue, 11 Jun 2013 09:11:10 +0200 Subject: [PATCH] Fixed a bug in the conversion API --- lib/converter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/converter.cpp b/lib/converter.cpp index d2755221..1b83d29b 100644 --- a/lib/converter.cpp +++ b/lib/converter.cpp @@ -141,8 +141,8 @@ namespace Converter { return; } encoderCommand << "-vcodec " << vidCodec->first << " "; - if (parameters["video"].isMember("kfps")){ - encoderCommand << "-r " << parameters["video"]["kfps"].asInt() / 1000 << " "; + if (parameters["video"].isMember("fpks")){ + encoderCommand << "-r " << parameters["video"]["fpks"].asInt() / 1000 << " "; } if (parameters["video"].isMember("width")){ encoderCommand << "-s " << parameters["video"]["width"].asInt() << "x" << parameters["video"]["height"].asInt() << " ";