source: smplayer/trunk/src/config.h@ 93

Last change on this file since 93 was 93, checked in by Silvan Scherrer, 15 years ago

smplayer: 0.6.9

File size: 3.7 KB
Line 
1/* smplayer, GUI front-end for mplayer.
2 Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org>
3
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.
8
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.
13
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
17*/
18
19#ifndef _CONFIG_H_
20#define _CONFIG_H_
21
22#include <Qt>
23
24
25// STYLE_SWITCHING
26// if 1, the preferences dialog will have an option to switch
27// the Qt style
28
29#define STYLE_SWITCHING 1
30
31
32// EXTERNAL_SLEEP
33// if 1, it will be used the function usleep() from unistd.h
34// instead of QThread::msleep()
35// It can be useful if your Qt doesn't have QThread support.
36// Note: not much test it
37// Note 2: not used anymore
38
39#define EXTERNAL_SLEEP 0
40
41
42// ENABLE_DELAYED_DRAGGING
43// if 1, sends the dragging position of the time slider
44// some ms later
45
46#define ENABLE_DELAYED_DRAGGING 1
47
48
49// SEEKBAR_RESOLUTION
50// if SEEKBAR_RESOLUTION is defined, it specified the
51// maximum value of the time slider
52
53#define SEEKBAR_RESOLUTION 1000
54
55
56// SMART_DVD_CHAPTERS
57// if set to 1, the slave command "chapter" will use if not using a cache,
58// otherwise mplayer will be restarted and -chapter will be used.
59
60#define SMART_DVD_CHAPTERS 1
61
62
63// ALLOW_TO_HIDE_VIDEO_WINDOW_ON_AUDIO_FILES
64// if 1, the video window may be hidden when playing audio files
65// depending on the hide_video_window_on_audio_files option in
66// the config file
67
68#define ALLOW_TO_HIDE_VIDEO_WINDOW_ON_AUDIO_FILES 1
69
70
71// DELAYED_AUDIO_SETUP_ON_STARTUP
72// if 1, the audio track will be initialized later once the file
73// has begun to play
74
75#define DELAYED_AUDIO_SETUP_ON_STARTUP 0
76
77
78// CHECK_VIDEO_CODEC_FOR_NO_VIDEO
79// if 1, the video codec will be checked to decide if the file
80// has video or not. If it's empty it has no video.
81// If 0, it will check for the line "Video: no video"
82
83#define CHECK_VIDEO_CODEC_FOR_NO_VIDEO 1
84
85
86// Just for testing, possibility to disable the use of the colorkey
87
88#define USE_COLORKEY 1
89
90
91// USE_MINIMUMSIZE
92// if 1, the main window will not be smaller than the control widget
93// size hint or pref->gui_minimum_width.
94
95#define USE_MINIMUMSIZE 1
96
97
98// GENERIC_CHAPTER_SUPPORT
99// if 1, it will use a generic code for chapters which can be used
100// for all kind of videos, not only DVDs and mkv files.
101
102#define GENERIC_CHAPTER_SUPPORT 1
103
104
105// DVDNAV_SUPPORT
106// if 1, smplayer will be compiled with support for mplayer's dvdnav
107
108#define DVDNAV_SUPPORT 1
109
110
111// PROGRAM_SWITCH
112// support for program switch in ts files
113
114#define PROGRAM_SWITCH 1
115
116
117// Adds or not the "Repaint the background of the video window" option.
118//#ifndef Q_OS_WIN
119#define REPAINT_BACKGROUND_OPTION 1
120//#endif
121
122
123// Enables/disables the use of -adapter
124#ifdef Q_OS_WIN
125#define USE_ADAPTER 1
126#define OVERLAY_VO "directx"
127//#define OVERLAY_VO "xv"
128#endif
129
130
131// If 1, smplayer will check if mplayer is old
132// and in that case it will report to the user
133#if !defined(Q_OS_WIN) && !defined(Q_OS_OS2)
134#define REPORT_OLD_MPLAYER 1
135#endif
136
137
138// If 1, smplayer will add support for the mplayer slave command
139// "panscan".
140
141#define USE_MPLAYER_PANSCAN 0
142
143
144#endif
Note: See TracBrowser for help on using the repository browser.