annotate mplayer.h @ 30466:cd3f6962fcfd

Set the PixelFormat right after creating the window and set it only once.
author reimar
date Thu, 04 Feb 2010 22:46:01 +0000
parents c1a3f1bbba26
children f4e017b6921a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30429
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
1 /*
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
2 * This file is part of MPlayer.
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
3 *
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
5 * it under the terms of the GNU General Public License as published by
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
7 * (at your option) any later version.
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
8 *
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
12 * GNU General Public License for more details.
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
13 *
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
14 * You should have received a copy of the GNU General Public License along
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 28051
diff changeset
17 */
724
pontscho
parents:
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25965
diff changeset
19 #ifndef MPLAYER_MPLAYER_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25965
diff changeset
20 #define MPLAYER_MPLAYER_H
724
pontscho
parents:
diff changeset
21
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
22 extern char* current_module;
724
pontscho
parents:
diff changeset
23
8933
bfe1b826cff1 add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents: 8717
diff changeset
24 extern char * dvd_device;
bfe1b826cff1 add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents: 8717
diff changeset
25 extern char * cdrom_device;
bfe1b826cff1 add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents: 8717
diff changeset
26
7526
e3ca9e707857 - fix new afm/vfm support
pontscho
parents: 7186
diff changeset
27 extern char ** audio_fm_list;
e3ca9e707857 - fix new afm/vfm support
pontscho
parents: 7186
diff changeset
28 extern char ** video_fm_list;
7582
4a233f3b09a7 add [video||audio]_driver_list
pontscho
parents: 7559
diff changeset
29 extern char ** video_driver_list;
4a233f3b09a7 add [video||audio]_driver_list
pontscho
parents: 7559
diff changeset
30 extern char ** audio_driver_list;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
31 extern char * video_driver;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
32 extern char * audio_driver;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
33 extern float audio_delay;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
34
6619
f554e7271587 fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents: 6335
diff changeset
35 extern int osd_level;
18287
292337d09af2 Remove updating of vo_mouse_timer_const from the main loop and also
uau
parents: 17566
diff changeset
36 extern unsigned int osd_visible;
6619
f554e7271587 fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents: 6335
diff changeset
37
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
38 extern char * font_name;
23338
2a66d95355f0 add new -subfont option, that allows having a different font for OSD (controls and menu) and subtitles
ben
parents: 21370
diff changeset
39 extern char * sub_font_name;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
40 extern float font_factor;
7541
f51e76c3882e add aspect changing support
pontscho
parents: 7529
diff changeset
41 extern float movie_aspect;
25965
4cd12675cfbb Change force_fps and force_ofps to double
reimar
parents: 24149
diff changeset
42 extern double force_fps;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
43
9870
09d630a4f991 support for multiple subtitle files by Marcin Wojdyr <wojdyr@unipress.waw.pl>
henry
parents: 9746
diff changeset
44 //extern char **sub_name;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
45 extern float sub_delay;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
46 extern float sub_fps;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
47 extern int sub_auto;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
48
6627
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6619
diff changeset
49 extern char * filename;
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6619
diff changeset
50
7526
e3ca9e707857 - fix new afm/vfm support
pontscho
parents: 7186
diff changeset
51 extern int stream_cache_size;
8311
37ab4e646f65 add autosync && some 10l bugfix
pontscho
parents: 7821
diff changeset
52 extern int autosync;
7559
b645204ea527 some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents: 7541
diff changeset
53
b645204ea527 some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents: 7541
diff changeset
54 // libmpcodecs:
b645204ea527 some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents: 7541
diff changeset
55 extern int fullscreen;
b645204ea527 some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents: 7541
diff changeset
56 extern int flip;
b645204ea527 some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents: 7541
diff changeset
57
7019
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
58 extern int frame_dropping;
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
59
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
60 extern int auto_quality;
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
61
7821
1efdf16883a0 add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents: 7582
diff changeset
62 extern int audio_id;
1efdf16883a0 add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents: 7582
diff changeset
63 extern int video_id;
1efdf16883a0 add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents: 7582
diff changeset
64 extern int dvdsub_id;
8423
c6a1a5b6ba25 - fix three submenu bug
pontscho
parents: 8311
diff changeset
65 extern int vobsub_id;
7821
1efdf16883a0 add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents: 7582
diff changeset
66
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26029
diff changeset
67 void exit_player(const char* how);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26029
diff changeset
68 void update_set_of_subtitles(void);
5919
60cf2bca993f some bug fix
pontscho
parents: 4981
diff changeset
69
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25965
diff changeset
70 #endif /* MPLAYER_MPLAYER_H */