annotate mplayer.h @ 28992:947ef23ba798

Test if create_vdp_decoder() might succeed by calling it from config() with a small value for max_reference_frames. This does not make automatic recovery by using software decoder possible, but lets MPlayer fail more graciously on - actually existing - buggy hardware that does not support certain H264 widths when using hardware accelerated decoding (784, 864, 944, 1024, 1808, 1888 pixels on NVIDIA G98) and if the user tries to hardware-decode more samples at the same time than supported. Might break playback of H264 Intra-Only samples on hardware with very little video memory.
author cehoyos
date Sat, 21 Mar 2009 20:11:05 +0000
parents 9e739bdb049c
children c1a3f1bbba26
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
724
pontscho
parents:
diff changeset
1
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25965
diff changeset
2 #ifndef MPLAYER_MPLAYER_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25965
diff changeset
3 #define MPLAYER_MPLAYER_H
724
pontscho
parents:
diff changeset
4
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 4798
diff changeset
5 extern char* current_module;
724
pontscho
parents:
diff changeset
6
8933
bfe1b826cff1 add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents: 8717
diff changeset
7 extern char * dvd_device;
bfe1b826cff1 add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents: 8717
diff changeset
8 extern char * cdrom_device;
bfe1b826cff1 add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents: 8717
diff changeset
9
7526
e3ca9e707857 - fix new afm/vfm support
pontscho
parents: 7186
diff changeset
10 extern char ** audio_fm_list;
e3ca9e707857 - fix new afm/vfm support
pontscho
parents: 7186
diff changeset
11 extern char ** video_fm_list;
7582
4a233f3b09a7 add [video||audio]_driver_list
pontscho
parents: 7559
diff changeset
12 extern char ** video_driver_list;
4a233f3b09a7 add [video||audio]_driver_list
pontscho
parents: 7559
diff changeset
13 extern char ** audio_driver_list;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
14 extern char * video_driver;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
15 extern char * audio_driver;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
16 extern float audio_delay;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
17
6619
f554e7271587 fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents: 6335
diff changeset
18 extern int osd_level;
18287
292337d09af2 Remove updating of vo_mouse_timer_const from the main loop and also
uau
parents: 17566
diff changeset
19 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
20
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
21 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
22 extern char * sub_font_name;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
23 extern float font_factor;
7541
f51e76c3882e add aspect changing support
pontscho
parents: 7529
diff changeset
24 extern float movie_aspect;
25965
4cd12675cfbb Change force_fps and force_ofps to double
reimar
parents: 24149
diff changeset
25 extern double force_fps;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
26
9870
09d630a4f991 support for multiple subtitle files by Marcin Wojdyr <wojdyr@unipress.waw.pl>
henry
parents: 9746
diff changeset
27 //extern char **sub_name;
6796
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
28 extern float sub_delay;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
29 extern float sub_fps;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
30 extern int sub_auto;
9c828335b2d0 add preferences to gui
pontscho
parents: 6627
diff changeset
31
6627
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6619
diff changeset
32 extern char * filename;
fd3ac41ee1a1 add equalizer support and fix some small bug...
pontscho
parents: 6619
diff changeset
33
7526
e3ca9e707857 - fix new afm/vfm support
pontscho
parents: 7186
diff changeset
34 extern int stream_cache_size;
8311
37ab4e646f65 add autosync && some 10l bugfix
pontscho
parents: 7821
diff changeset
35 extern int autosync;
7559
b645204ea527 some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents: 7541
diff changeset
36
b645204ea527 some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents: 7541
diff changeset
37 // libmpcodecs:
b645204ea527 some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents: 7541
diff changeset
38 extern int fullscreen;
b645204ea527 some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents: 7541
diff changeset
39 extern int flip;
b645204ea527 some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents: 7541
diff changeset
40
7019
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
41 extern int frame_dropping;
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
42
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
43 extern int auto_quality;
e37a67d5e117 fix (?) cmd line handling
pontscho
parents: 6796
diff changeset
44
7821
1efdf16883a0 add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents: 7582
diff changeset
45 extern int audio_id;
1efdf16883a0 add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents: 7582
diff changeset
46 extern int video_id;
1efdf16883a0 add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents: 7582
diff changeset
47 extern int dvdsub_id;
8423
c6a1a5b6ba25 - fix three submenu bug
pontscho
parents: 8311
diff changeset
48 extern int vobsub_id;
7821
1efdf16883a0 add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents: 7582
diff changeset
49
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26029
diff changeset
50 void exit_player(const char* how);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26029
diff changeset
51 void update_set_of_subtitles(void);
5919
60cf2bca993f some bug fix
pontscho
parents: 4981
diff changeset
52
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25965
diff changeset
53 #endif /* MPLAYER_MPLAYER_H */