Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
b88c8f40
Commit
b88c8f40
authored
Jan 31, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lua RC: remove non-working menu command
parent
e715fddb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
share/lua/intf/cli.lua
share/lua/intf/cli.lua
+0
-10
No files found.
share/lua/intf/cli.lua
View file @
b88c8f40
...
...
@@ -506,15 +506,6 @@ function listvalue(obj,var)
end
end
function
menu
(
name
,
client
,
value
)
local
map
=
{
on
=
'show'
,
off
=
'hide'
,
up
=
'up'
,
down
=
'down'
,
left
=
'prev'
,
right
=
'next'
,
[
'select'
]
=
'activate'
}
if
map
[
value
]
and
vlc
.
osd
.
menu
[
map
[
value
]]
then
vlc
.
osd
.
menu
[
map
[
value
]]()
else
client
:
append
(
"Unknown menu command '"
..
tostring
(
value
)
..
"'"
)
end
end
function
hotkey
(
name
,
client
,
value
)
if
not
value
then
client
:
append
(
"Please specify a hotkey (ie key-quit or quit)"
)
...
...
@@ -584,7 +575,6 @@ commands_ordered = {
{
"snapshot"
;
{
func
=
common
.
snapshot
;
help
=
"take video snapshot"
}
};
{
"strack"
;
{
func
=
skip
(
listvalue
(
"input"
,
"spu-es"
));
args
=
"[X]"
;
help
=
"set/get subtitles track"
}
};
{
"hotkey"
;
{
func
=
hotkey
;
args
=
"[hotkey name]"
;
help
=
"simulate hotkey press"
;
adv
=
true
;
aliases
=
{
"key"
}
}
};
{
"menu"
;
{
func
=
menu
;
args
=
"[on|off|up|down|left|right|select]"
;
help
=
"use menu"
;
adv
=
true
}
};
{
""
};
{
"vlm"
;
{
func
=
load_vlm
;
help
=
"load the VLM"
}
};
{
"set"
;
{
func
=
set_env
;
args
=
"[var [value]]"
;
help
=
"set/get env var"
;
adv
=
true
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment