~ubuntu-branches/ubuntu/wily/smplayer/wily

« back to all changes in this revision

Viewing changes to src/config.h

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-03-31 23:05:43 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20090331230543-0h2hfwpwlu9opbv2
* New upstream release. (Closes: #523791)
  - Reworked subtitle font preferences. (Closes: #503295)
  - No longer installs qt_fr.qm. (Closes: #486314)
* debian/control:
  - Bumped Standards-Version to 3.8.1.
  - Changed maintainer name (still the same person and GPG key).
  - Changed section to video.
  - Build-depend on zlib1g-dev for findsubtitles.
  - Require Qt >= 4.3 per readme.
  - Added ${misc:Depends}.
  - Make smplayer-translations depend on smplayer and smplayer recommend
    smplayer-translations, not the other way round. (Closes: #489375)
* debian/copyright:
  - Significantly expanded per-file with new upstream authors.
* debian/rules:
  - Make make use correct uic in install.
  - Clean svn_revision.
  - Removed get-orig-source - not needed with uscan --repack.
* debian/patches/01_gl_translation.patch:
  - Added patch to fix lrelease error on smplayer_gl.ts.
* Added debian/README.source for simple-patchsys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  smplayer, GUI front-end for mplayer.
 
2
    Copyright (C) 2006-2009 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
// Activate the new code for aspect ratio
 
26
 
 
27
#define NEW_ASPECT_CODE 1
 
28
 
 
29
 
 
30
// STYLE_SWITCHING
 
31
// if 1, the preferences dialog will have an option to switch
 
32
// the Qt style
 
33
 
 
34
#define STYLE_SWITCHING 1
 
35
 
 
36
 
 
37
// EXTERNAL_SLEEP
 
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
 
43
 
 
44
#define EXTERNAL_SLEEP 0
 
45
 
 
46
 
 
47
// ENABLE_DELAYED_DRAGGING
 
48
// if 1, sends the dragging position of the time slider
 
49
// some ms later
 
50
 
 
51
#define ENABLE_DELAYED_DRAGGING 1
 
52
 
 
53
 
 
54
// SEEKBAR_RESOLUTION
 
55
// if SEEKBAR_RESOLUTION is defined, it specified the
 
56
// maximum value of the time slider
 
57
 
 
58
#define SEEKBAR_RESOLUTION 1000
 
59
 
 
60
 
 
61
// SMART_DVD_CHAPTERS
 
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.
 
64
 
 
65
#define SMART_DVD_CHAPTERS 1
 
66
 
 
67
 
 
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
 
71
// the config file
 
72
 
 
73
#define ALLOW_TO_HIDE_VIDEO_WINDOW_ON_AUDIO_FILES 1
 
74
 
 
75
 
 
76
// DELAYED_AUDIO_SETUP_ON_STARTUP
 
77
// if 1, the audio track will be initialized later once the file
 
78
// has begun to play
 
79
 
 
80
#define DELAYED_AUDIO_SETUP_ON_STARTUP 0
 
81
 
 
82
 
 
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"
 
87
 
 
88
#define CHECK_VIDEO_CODEC_FOR_NO_VIDEO 1
 
89
 
 
90
 
 
91
// Just for testing, possibility to disable the use of the colorkey
 
92
 
 
93
#define USE_COLORKEY 1
 
94
 
 
95
 
 
96
// USE_MINIMUMSIZE
 
97
// if 1, the main window will not be smaller than the control widget 
 
98
// size hint or pref->gui_minimum_width.
 
99
 
 
100
#define USE_MINIMUMSIZE 1
 
101
 
 
102
 
 
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.
 
106
 
 
107
#define GENERIC_CHAPTER_SUPPORT 1
 
108
 
 
109
 
 
110
// DVDNAV_SUPPORT
 
111
// if 1, smplayer will be compiled with support for mplayer's dvdnav
 
112
 
 
113
#define DVDNAV_SUPPORT 1
 
114
 
 
115
 
 
116
// Adds or not the "Repaint the background of the video window" option.
 
117
//#ifndef Q_OS_WIN
 
118
#define REPAINT_BACKGROUND_OPTION 1
 
119
//#endif
 
120
 
 
121
 
 
122
// Enables/disables the use of -adapter
 
123
#ifdef Q_OS_WIN
 
124
#define USE_ADAPTER 1
 
125
#define OVERLAY_VO "directx"
 
126
//#define OVERLAY_VO "xv"
 
127
#endif
 
128
 
 
129
 
 
130
// If 1, smplayer will check if mplayer is old
 
131
// and in that case it will report to the user
 
132
#ifndef Q_OS_WIN
 
133
#define REPORT_OLD_MPLAYER 1
 
134
#endif
 
135
 
 
136
 
 
137
#endif