Fix for frame count not initializing correctly on video options page.
This commit is contained in:
parent
5fd9b12a15
commit
8f0f6f23e1
|
@ -3037,6 +3037,8 @@ void LibavOptionsPage::initCodecLists(void)
|
|||
initSampleFormatSelect( audioEncSel->currentText().toStdString().c_str() );
|
||||
initSampleRateSelect( audioEncSel->currentText().toStdString().c_str() );
|
||||
initChannelLayoutSelect( audioEncSel->currentText().toStdString().c_str() );
|
||||
|
||||
videoEncSel->model()->sort(0);
|
||||
}
|
||||
//-----------------------------------------------------
|
||||
void LibavOptionsPage::includeAudioChanged(bool checked)
|
||||
|
|
|
@ -64,6 +64,10 @@ ConsoleVideoConfDialog_t::ConsoleVideoConfDialog_t(QWidget *parent)
|
|||
fontCharWidth = fm.width(QLatin1Char('2'));
|
||||
#endif
|
||||
|
||||
g_config->getOption("SDL.ShowFrameCount", &frame_display);
|
||||
g_config->getOption("SDL.ShowLagCount", &lagCounterDisplay);
|
||||
g_config->getOption("SDL.ShowRerecordCount", &rerecord_display);
|
||||
|
||||
style = this->style();
|
||||
|
||||
setWindowTitle( tr("Video Config") );
|
||||
|
|
Loading…
Reference in New Issue