File smplayer-defaults.patch of Package smplayer
--- a/src/core.cpp
+++ b/src/core.cpp
@@ -1728,6 +1728,8 @@ void Core::startMplayer( QString file, d
QString ao = pref->ao;
if (!ao.endsWith(",")) ao += ",";
proc->setOption("ao", ao);
+ } else {
+ proc->setOption("ao", "pulse" );
}
#if !defined(Q_OS_WIN) && !defined(Q_OS_OS2)
--- a/src/defaultgui.cpp
+++ b/src/defaultgui.cpp
@@ -493,7 +493,7 @@ void DefaultGui::createControlWidget() {
controlwidget->show();
*/
- controlwidget->setIconSize(QSize(40,40));
+ controlwidget->setIconSize(QSize(30, 30));
}
void DefaultGui::createFloatingControl() {
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -374,11 +374,7 @@ void Preferences::reset() {
resize_method = Never;
#if STYLE_SWITCHING
- #if QT_VERSION >= 0x050000
- style = "Fusion";
- #else
style="";
- #endif
#endif
center_window = false;
@@ -446,7 +442,7 @@ void Preferences::reset() {
allow_video_movement = false;
gui = "DefaultGUI";
- iconset = "H2O";
+ iconset = "Papirus";
#if USE_MINIMUMSIZE
@@ -600,7 +596,7 @@ void Preferences::reset() {
#ifdef CHECK_UPGRADED
smplayer_stable_version = "";
- check_if_upgraded = true;
+ check_if_upgraded = false;
#endif
#ifdef FONTCACHE_DIALOG
smplayer_version = "";
--- a/src/prefgeneral.cpp
+++ b/src/prefgeneral.cpp
@@ -545,6 +545,9 @@ void PrefGeneral::setVO( QString vo_driv
}
void PrefGeneral::setAO( QString ao_driver ) {
+ if (ao_driver.isEmpty())
+ ao_driver = "pulse,";
+
int idx = ao_combo->findData( ao_driver );
if (idx != -1) {
ao_combo->setCurrentIndex(idx);