Mercurial > mplayer.hg
annotate mplayer.h @ 8078:26a2ae540b04
bugfixes :
- It seems the CONF_TYPE_SUBCONFIG array for the "mode" option eats
all other -xvidencopts parameters. With it it wasn't possible to set
the bitrate or in fact any other parameter beside "mode".
- xvidencopts_conf wasn't properly initialised for some of the
lines. Probably didn't cause bugs but at least this shaves a few gcc
warnings.
- Rewrote initialisation code & defaults according to
xvidcore/docs/xvid-encoder.txt in XViD CVS tree. Some of the defaults
where bad. Done with the help of Markus Liebl < lieblm at web dot de >
modified features:
- Changed "debug" default to 0. Use the "debug" flag to enable it.
- Changed the interpretation of "br" to be consistent with lavc (now
in kbits/s if <16000, else bits/s). Should be backward compatible.
- Now use "-xvidopts pass=(1|2)" instead of "-xvidopts mode=2pass-(1|2)".
- Use the "-passtmpfile" global option instead of a hardwired name.
- Use the same motion presets as XViD's vfw CVS code (which is the
source of the windows codec I assume).
coding style etc...:
- Use static variables instead of a big struct for individual options,
easier to initialize.
- [f]printf() ->> mp_msg()
added features:
- Added "lumi_mask", "mpeg_quant", "hintedme" and "hintfile" options,
all off by default.
author | rguyom |
---|---|
date | Sun, 03 Nov 2002 12:43:30 +0000 |
parents | 1efdf16883a0 |
children | 37ab4e646f65 |
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; |
6280 | 10 extern int vcd_track; |
724 | 11 |
7526 | 12 extern char ** audio_fm_list; |
13 extern char ** video_fm_list; | |
7582 | 14 extern char ** video_driver_list; |
15 extern char ** audio_driver_list; | |
6796 | 16 extern char * video_driver; |
17 extern char * audio_driver; | |
18 extern float audio_delay; | |
19 | |
6619
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
20 extern int osd_level; |
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
21 extern int osd_visible; |
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
22 |
6796 | 23 extern char * font_name; |
24 extern float font_factor; | |
7541 | 25 extern float movie_aspect; |
6796 | 26 |
6627 | 27 extern char * sub_name; |
6796 | 28 extern float sub_delay; |
29 extern float sub_fps; | |
30 extern int sub_auto; | |
7019 | 31 extern int sub_pos; |
32 extern int sub_unicode; | |
7150 | 33 extern subtitle* subtitles; |
34 extern subtitle* vo_sub; | |
6796 | 35 |
6627 | 36 extern char * filename; |
37 | |
7526 | 38 extern int stream_cache_size; |
7019 | 39 extern int force_ni; |
40 extern int index_mode; | |
7559
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
41 |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
42 // libmpcodecs: |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
43 extern int fullscreen; |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
44 extern int flip; |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
45 |
7019 | 46 extern int frame_dropping; |
47 | |
48 extern int auto_quality; | |
49 | |
7821
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
50 extern int audio_id; |
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
51 extern int video_id; |
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
52 extern int dvdsub_id; |
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
53 |
5919 | 54 extern void exit_player(char* how); |
55 | |
6335
e9bd97d5c5cc
warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
arpi
parents:
6280
diff
changeset
|
56 #endif |