Mercurial > mplayer.hg
annotate mplayer.h @ 18044:b693d92e6210
workaround to prevent segfault: when using -ve lavc with b-frames write_chunk(1st video frame) gets called with len=-1UL; -1ULl to whomever calls me that way
author | nicodvb |
---|---|
date | Wed, 05 Apr 2006 20:51:35 +0000 |
parents | f580a7755ac5 |
children | 292337d09af2 |
rev | line source |
---|---|
724 | 1 |
2 #ifndef __MPLAYER_MAIN | |
3 #define __MPLAYER_MAIN | |
4 | |
7150 | 5 #include "libvo/sub.h" |
6 #include "subreader.h" | |
7 | |
4798 | 8 extern int use_gui; |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
4798
diff
changeset
|
9 extern char* current_module; |
724 | 10 |
8933
bfe1b826cff1
add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents:
8717
diff
changeset
|
11 extern char * dvd_device; |
bfe1b826cff1
add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents:
8717
diff
changeset
|
12 extern char * cdrom_device; |
bfe1b826cff1
add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents:
8717
diff
changeset
|
13 |
7526 | 14 extern char ** audio_fm_list; |
15 extern char ** video_fm_list; | |
7582 | 16 extern char ** video_driver_list; |
17 extern char ** audio_driver_list; | |
6796 | 18 extern char * video_driver; |
19 extern char * audio_driver; | |
20 extern float audio_delay; | |
21 | |
6619
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
22 extern int osd_level; |
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
23 extern int osd_visible; |
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
24 |
6796 | 25 extern char * font_name; |
26 extern float font_factor; | |
7541 | 27 extern float movie_aspect; |
9055 | 28 extern float force_fps; |
6796 | 29 |
9870
09d630a4f991
support for multiple subtitle files by Marcin Wojdyr <wojdyr@unipress.waw.pl>
henry
parents:
9746
diff
changeset
|
30 //extern char **sub_name; |
6796 | 31 extern float sub_delay; |
32 extern float sub_fps; | |
33 extern int sub_auto; | |
7019 | 34 extern int sub_pos; |
35 extern int sub_unicode; | |
9056 | 36 extern char * sub_cp; |
9870
09d630a4f991
support for multiple subtitle files by Marcin Wojdyr <wojdyr@unipress.waw.pl>
henry
parents:
9746
diff
changeset
|
37 extern sub_data* subdata; //currently used subtitles |
7150 | 38 extern subtitle* vo_sub; |
8717 | 39 extern int suboverlap_enabled; |
6796 | 40 |
6627 | 41 extern char * filename; |
42 | |
7526 | 43 extern int stream_cache_size; |
7019 | 44 extern int force_ni; |
45 extern int index_mode; | |
8311 | 46 extern int autosync; |
7559
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
47 |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
48 // libmpcodecs: |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
49 extern int fullscreen; |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
50 extern int flip; |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
51 |
7019 | 52 extern int frame_dropping; |
53 | |
54 extern int auto_quality; | |
55 | |
7821
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
56 extern int audio_id; |
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
57 extern int video_id; |
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
58 extern int dvdsub_id; |
8423 | 59 extern int vobsub_id; |
7821
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
60 |
5919 | 61 extern void exit_player(char* how); |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
9870
diff
changeset
|
62 extern void update_set_of_subtitles(void); |
5919 | 63 |
6335
e9bd97d5c5cc
warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
arpi
parents:
6280
diff
changeset
|
64 #endif |