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
999bdad5
Commit
999bdad5
authored
Mar 15, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
luarc: remove pointless extra variables
parent
2c5b243d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
share/lua/intf/rc.lua
share/lua/intf/rc.lua
+2
-2
No files found.
share/lua/intf/rc.lua
View file @
999bdad5
...
@@ -607,7 +607,7 @@ function call_command(cmd,client,arg)
...
@@ -607,7 +607,7 @@ function call_command(cmd,client,arg)
end
end
function
call_libvlc_command
(
cmd
,
client
,
arg
)
function
call_libvlc_command
(
cmd
,
client
,
arg
)
local
ok
,
vlcerr
,
vlcmsg
=
pcall
(
vlc
.
var
.
libvlc_command
,
cmd
,
arg
)
local
ok
,
vlcerr
=
pcall
(
vlc
.
var
.
libvlc_command
,
cmd
,
arg
)
if
not
ok
then
if
not
ok
then
local
a
=
arg
or
""
local
a
=
arg
or
""
if
a
~=
""
then
a
=
" "
..
a
end
if
a
~=
""
then
a
=
" "
..
a
end
...
@@ -621,7 +621,7 @@ function call_object_command(cmd,client,arg)
...
@@ -621,7 +621,7 @@ function call_object_command(cmd,client,arg)
if
arg
~=
nil
then
if
arg
~=
nil
then
var
,
val
=
split_input
(
arg
)
var
,
val
=
split_input
(
arg
)
end
end
local
ok
,
vlcmsg
,
vlcerr
,
vlcerrmsg
=
pcall
(
vlc
.
var
.
command
,
cmd
,
var
,
val
)
local
ok
,
vlcmsg
,
vlcerr
=
pcall
(
vlc
.
var
.
command
,
cmd
,
var
,
val
)
if
not
ok
then
if
not
ok
then
local
v
=
var
or
""
local
v
=
var
or
""
if
v
~=
""
then
v
=
" "
..
v
end
if
v
~=
""
then
v
=
" "
..
v
end
...
...
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