Mercurial > mplayer.hg
changeset 33180:422e5d306d44
Group and sort configuration variable definitions.
author | ib |
---|---|
date | Fri, 15 Apr 2011 14:34:17 +0000 |
parents | 218edd8fc782 |
children | ddbd34d6392d |
files | gui/cfg.c |
diffstat | 1 files changed, 27 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/cfg.c Fri Apr 15 14:30:58 2011 +0000 +++ b/gui/cfg.c Fri Apr 15 14:34:17 2011 +0000 @@ -39,48 +39,56 @@ #include "sub/font_load.h" #include "sub/sub.h" -int gtkEnableAudioEqualizer = 0; +int gtkCacheOn = 0; +int gtkCacheSize = 2048; + +int gtkVfLAVC = 0; +int gtkVfPP = 0; -int gtkVfPP = 0; -int gtkVfLAVC = 0; +#ifdef CONFIG_DXR3 +char *gtkDXR3Device; +#endif + +int gtkAutoSyncOn = 0; +int gtkAutoSync = 0; int gtkAONorm = 0; int gtkAOSurround = 0; int gtkAOExtraStereo = 0; float gtkAOExtraStereoMul = 1.0; -#ifdef CONFIG_OSS_AUDIO -char *gtkAOOSSMixer; -char *gtkAOOSSMixerChannel; -char *gtkAOOSSDevice; -#endif + #ifdef CONFIG_ALSA char *gtkAOALSAMixer; char *gtkAOALSAMixerChannel; char *gtkAOALSADevice; #endif -#ifdef CONFIG_SDL -char *gtkAOSDLDriver; + +#ifdef CONFIG_OSS_AUDIO +char *gtkAOOSSMixer; +char *gtkAOOSSMixerChannel; +char *gtkAOOSSDevice; #endif + #ifdef CONFIG_ESD char *gtkAOESDDevice; #endif -int gtkCacheOn = 0; -int gtkCacheSize = 2048; +#ifdef CONFIG_SDL +char *gtkAOSDLDriver; +#endif -int gtkAutoSyncOn = 0; -int gtkAutoSync = 0; - -#ifdef CONFIG_DXR3 -char *gtkDXR3Device; -#endif +int gtkEnableAudioEqualizer = 0; int gtkSubDumpMPSub = 0; int gtkSubDumpSrt = 0; +#ifdef CONFIG_ASS +gtkASS_t gtkASS; +#endif + +int gtkEnablePlayBar = 1; int gtkLoadFullscreen = 0; int gtkShowVideoWindow = 1; -int gtkEnablePlayBar = 1; int gui_save_pos = 1; int gui_main_pos_x = -2; @@ -88,10 +96,6 @@ int gui_sub_pos_x = -1; int gui_sub_pos_y = -1; -#ifdef CONFIG_ASS -gtkASS_t gtkASS; -#endif - static m_config_t *gui_conf; // NOTE TO MYSELF: Do we really need all/any non-gtkOptions, i.e. override mplayer's ones?