openbsd-ports/x11/smplayer/patches/patch-src_preferences_cpp
gonzalo e3330a4634 Update for Smplayer to 0.8.0 whit this features:
* A toolbar editor has been added. Now it's possible to select  the
buttons and controls that want to appear in the toolbars.
* New video filters: gradfun, blur and sharpen.
* Now it's possible to change the GUI (default, mini, mpc) at
runtime, no restart required.
* Sub files from opensubtitles should work again.
* Better support for chapters in video files.
* Bug fix: remote m3u files work from the favorites menu or command line.
* Internal changes in the single instance option (switch to
QtSingleApplication).

While here, GROFF is not needed, disable debug from edd@ and remove the
LIB_DEPENDS line, it's not needed since the x11/qt4 module is used.

Tested on i386 and ppc.

OK edd@, landry@ and aja@
2012-06-04 14:27:41 +00:00

40 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_preferences_cpp,v 1.2 2012/06/04 14:27:42 gonzalo Exp $
--- src/preferences.cpp.orig Mon Mar 19 01:49:58 2012
+++ src/preferences.cpp Sat May 26 11:08:29 2012
@@ -123,7 +123,7 @@ void Preferences::reset() {
softvol_max = 110; // 110 = default value in mplayer
use_scaletempo = Detect;
use_hwac3 = false;
- use_audio_equalizer = true;
+ use_audio_equalizer = false;
global_volume = true;
volume = 50;
@@ -145,8 +145,8 @@ void Preferences::reset() {
Drives (CD/DVD)
*************** */
- dvd_device = "";
- cdrom_device = "";
+ dvd_device = "/dev/cd0c";
+ cdrom_device = "/dev/cd0c";
#ifndef Q_OS_WIN
// Try to set default values
@@ -260,13 +260,13 @@ void Preferences::reset() {
mplayer_additional_audio_filters="";
#ifdef LOG_MPLAYER
- log_mplayer = true;
+ log_mplayer = false;
verbose_log = false;
autosave_mplayer_log = false;
mplayer_log_saveto = "";
#endif
#ifdef LOG_SMPLAYER
- log_smplayer = true;
+ log_smplayer = false;
log_filter = ".*";
save_smplayer_log = false;
#endif