1
/* smplayer, GUI front-end for mplayer.
2
Copyright (C) 2006-2009 Ricardo Villalba <rvm@escomposlinux.org>
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 2 of the License, or
7
(at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25
// Activate the new code for aspect ratio
27
#define NEW_ASPECT_CODE 1
31
// if 1, the preferences dialog will have an option to switch
34
#define STYLE_SWITCHING 1
38
// if 1, it will be used the function usleep() from unistd.h
39
// instead of QThread::msleep()
40
// It can be useful if your Qt doesn't have QThread support.
41
// Note: not much test it
42
// Note 2: not used anymore
44
#define EXTERNAL_SLEEP 0
47
// ENABLE_DELAYED_DRAGGING
48
// if 1, sends the dragging position of the time slider
51
#define ENABLE_DELAYED_DRAGGING 1
55
// if SEEKBAR_RESOLUTION is defined, it specified the
56
// maximum value of the time slider
58
#define SEEKBAR_RESOLUTION 1000
62
// if set to 1, the slave command "chapter" will use if not using a cache,
63
// otherwise mplayer will be restarted and -chapter will be used.
65
#define SMART_DVD_CHAPTERS 1
68
// ALLOW_TO_HIDE_VIDEO_WINDOW_ON_AUDIO_FILES
69
// if 1, the video window may be hidden when playing audio files
70
// depending on the hide_video_window_on_audio_files option in
73
#define ALLOW_TO_HIDE_VIDEO_WINDOW_ON_AUDIO_FILES 1
76
// DELAYED_AUDIO_SETUP_ON_STARTUP
77
// if 1, the audio track will be initialized later once the file
80
#define DELAYED_AUDIO_SETUP_ON_STARTUP 0
83
// CHECK_VIDEO_CODEC_FOR_NO_VIDEO
84
// if 1, the video codec will be checked to decide if the file
85
// has video or not. If it's empty it has no video.
86
// If 0, it will check for the line "Video: no video"
88
#define CHECK_VIDEO_CODEC_FOR_NO_VIDEO 1
91
// Just for testing, possibility to disable the use of the colorkey
93
#define USE_COLORKEY 1
97
// if 1, the main window will not be smaller than the control widget
98
// size hint or pref->gui_minimum_width.
100
#define USE_MINIMUMSIZE 1
103
// GENERIC_CHAPTER_SUPPORT
104
// if 1, it will use a generic code for chapters which can be used
105
// for all kind of videos, not only DVDs and mkv files.
107
#define GENERIC_CHAPTER_SUPPORT 1
111
// if 1, smplayer will be compiled with support for mplayer's dvdnav
113
#define DVDNAV_SUPPORT 1
116
// Adds or not the "Repaint the background of the video window" option.
118
#define REPAINT_BACKGROUND_OPTION 1
122
// Enables/disables the use of -adapter
124
#define USE_ADAPTER 1
125
#define OVERLAY_VO "directx"
126
//#define OVERLAY_VO "xv"
130
// If 1, smplayer will check if mplayer is old
131
// and in that case it will report to the user
133
#define REPORT_OLD_MPLAYER 1