- Set the video engine frame rate

This commit is contained in:
Santi Noreña 2013-03-03 13:32:14 +01:00
parent 8ba0c751cb
commit f55e7f160f
5 changed files with 126 additions and 120 deletions

View file

@ -848,6 +848,16 @@ void libreMediaServer::on_video_stateChanged(int state)
}
}
// Change the Frame Rate
void libreMediaServer::on_fpsRate_valueChanged()
{
QString desc = tr("0023 %1;").arg(ui.fpsRate->value());
if (!sendPacket(desc.toAscii().constData(),desc.size()))
{
errorsending();
}
}
///////////////////////////////////////////////////////////////////
// Pure Data Video
///////////////////////////////////////////////////////////////////