From c84468369574231a1e6318b141804388675d4156 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Sat, 15 May 2010 19:12:58 +0300 Subject: [PATCH] qt4: add x264 tune/preset on simple-preferences --- .../gui/qt4/components/simple_preferences.cpp | 2 ++ modules/gui/qt4/ui/sprefs_input.ui | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index 9520772722..4e711f9027 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -455,6 +455,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, optionWidgets.append( ui.DVDDevice ); optionWidgets.append( ui.cachingCombo ); CONFIG_GENERIC( "ffmpeg-skiploopfilter", IntegerList, ui.filterLabel, loopFilterBox ); + CONFIG_GENERIC( "sout-x264-tune", StringList, ui.x264Label, tuneBox ); + CONFIG_GENERIC( "sout-x264-preset", StringList, ui.x264Label, presetBox ); /* Caching */ /* Add the things to the ComboBox */ diff --git a/modules/gui/qt4/ui/sprefs_input.ui b/modules/gui/qt4/ui/sprefs_input.ui index 55fe696db6..56105504ae 100644 --- a/modules/gui/qt4/ui/sprefs_input.ui +++ b/modules/gui/qt4/ui/sprefs_input.ui @@ -73,6 +73,23 @@ + + + + x264 preset and tuning selection + + + presetBox + tuneBox + + + + + + + + + -- 2.39.2