Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
51d53266
Commit
51d53266
authored
Oct 16, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cli.lua: skip unknown VLM commands
Fixes #5396
parent
9b4e85b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
share/lua/intf/cli.lua
share/lua/intf/cli.lua
+6
-1
No files found.
share/lua/intf/cli.lua
View file @
51d53266
...
...
@@ -658,8 +658,13 @@ function call_vlm_command(cmd,client,arg)
cmd
=
cmd
..
" "
..
arg
end
local
message
,
vlc_err
=
vlm
:
execute_command
(
cmd
)
-- the VLM doesn't let us know if the command exists,
-- so we need this ugly hack
if
vlc_err
~=
0
and
message
.
value
==
"Unknown VLM command"
then
return
vlc_err
end
vlm_message_to_string
(
client
,
message
)
return
vlc_err
return
0
end
function
call_libvlc_command
(
cmd
,
client
,
arg
)
...
...
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