annotate etc/menu.conf @ 19588:0b5aaf5cda6a

Bugfix: strdup of NULL value.
author eugeni
date Tue, 29 Aug 2006 18:15:48 +0000
parents e8a589ebd38a
children 69bf352bcef8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
1
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
2 <txt name="man" file="manpage.txt"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
3
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
4 <filesel name="open_file"/>
8226
4b8fcc2af8f1 quote the filenames
albeu
parents: 8199
diff changeset
5 <filesel name="open_list" file-action="loadlist '%p'" auto-close="yes"
19530
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
6 title="Open a playlist: %p"
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
7 filter="/etc/mplayer/extensions_filter"
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
8 actions="d:run 'mp_loader \'%p\' d',c:run 'mp_loader \'%p\' c'" />
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
9
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
10 <pt name="jump_to"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
11
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
12 <console name="console0" height="80" vspace="0">Welcome to MPlayer</console>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
13
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
14 <txt name="man" file="manpage.txt"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
15
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
16 <pref name="general_pref" title="General">
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
17 <e property="osdlevel" name="OSD level"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
18 <e property="speed" name="Speed"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
19 </pref>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
20
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
21 <pref name="demuxer_pref" title="Demuxer">
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
22 </pref>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
23
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
24
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
25 <pref name="osd_sub_pref" title="Subtitles">
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
26 <e property="sub" name="Subtitles"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
27 <e property="sub_visibility" name="Visibility"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
28 <e property="sub_forced_only" name="Forced sub only"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
29 <e property="sub_alignment" name="Alignment"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
30 <e property="sub_pos" name="Position"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
31 <e property="sub_delay" name="Delay"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
32 </pref>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
33
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
34 <pref name="audio_pref" title="Audio">
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
35 <e property="volume" name="Volume"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
36 <e property="mute" name="Mute"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
37 <e property="audio_delay" name="Delay"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
38 </pref>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
39
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
40 <pref name="colors_pref" title="Colors">
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
41 <e property="gamma" name="Gamma"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
42 <e property="brightness" name="Brightness"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
43 <e property="contrast" name="Contrast"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
44 <e property="saturation" name="Saturation"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
45 <e property="hue" name="Hue"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
46 </pref>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
47
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
48 <pref name="video_pref" title="Video">
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
49 <e property="fullscreen" name="Fullscreen"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
50 <e property="panscan" name="Panscan"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
51 <menu menu="colors_pref" name="Colors ..."/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
52 <e property="ontop" name="Always on top"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
53 <e property="rootwin" name="Root window"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
54 <e property="framedropping" name="Frame dropping"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
55 <e property="vsync" name="VSync"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
56 </pref>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
57
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
58
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
59 <cmdlist name="pref_main" title="Preferences" ptr="<>" >
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
60 <e name="General ..." ok="set_menu general_pref"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
61 <e name="Audio ..." ok="set_menu audio_pref"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
62 <e name="Video ..." ok="set_menu video_pref"/>
17949
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
63 <e name="Subtitles ..." ok="set_menu osd_sub_pref"/>
a6b11b35892a Turn the preferences menu in something usefull using the new
albeu
parents: 14575
diff changeset
64 <e name="Back" ok="menu cancel"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
65 </cmdlist>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
66
19530
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
67 <pref name="properties" title="Stream Properties">
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
68 <e meta="name" name="Name"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
69 <e meta="vcodec" name="Video Codec"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
70 <e meta="vbitrate" name="Video Bitrate"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
71 <e meta="resolution" name="Resolution"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
72 <e meta="acodec" name="Audio Codec"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
73 <e meta="abitrate" name="Audio Bitrate"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
74 <e meta="asamples" name="Audio Samples"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
75 <e meta="title" name="Title"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
76 <e meta="artist" name="Artist"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
77 <e meta="album" name="Album"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
78 <e meta="year" name="Year"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
79 <e meta="comment" name="Comment"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
80 <e meta="track" name="Track"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
81 <e meta="genre" name="Genre"/>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
82 </pref>
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
83
12905
55f9092a1e19 We're long past 0.90.
diego
parents: 9097
diff changeset
84 <cmdlist name="main" title="MPlayer OSD menu" ptr="<>" >
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
85 <e name="Pause" ok="pause"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
86 <e name="Prev/Next" ok="pt_step 1" cancel="pt_step -1"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
87 <e name="Jump to ..." ok="set_menu jump_to"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
88 <e name="Open ..." ok="set_menu open_file"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
89 <e name="Open playlist ..." ok="set_menu open_list"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
90 <e name="Help" ok="set_menu man"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
91 <e name="Pref" ok="set_menu pref_main"/>
19530
e8a589ebd38a updated sample of libmenu config file with latest improvements
ben
parents: 17949
diff changeset
92 <e name="Properties" ok="set_menu properties"/>
8199
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
93 <e name="Console" ok="set_menu console0"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
94 <e name="Quit" ok="quit"/>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
95 </cmdlist>
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
96
6fe1bb505027 Example config file for the OSD menus
albeu
parents:
diff changeset
97