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
f1ea77b7
Commit
f1ea77b7
authored
Jan 18, 2009
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc fixes.
parent
6b734278
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
share/lua/intf/rc.lua
share/lua/intf/rc.lua
+4
-3
No files found.
share/lua/intf/rc.lua
View file @
f1ea77b7
...
...
@@ -73,7 +73,7 @@ for k,v in pairs(env) do
if
config
[
k
]
then
if
type
(
env
[
k
])
==
type
(
config
[
k
])
then
env
[
k
]
=
config
[
k
]
vlc
.
msg
.
dbg
(
"set environement variable `"
..
k
..
"' to "
..
to
number
(
env
[
k
]))
vlc
.
msg
.
dbg
(
"set environement variable `"
..
k
..
"' to "
..
to
string
(
env
[
k
]))
else
vlc
.
msg
.
err
(
"environement variable `"
..
k
..
"' should be of type "
..
type
(
env
[
k
])
..
". config value will be discarded."
)
end
...
...
@@ -155,6 +155,7 @@ function quit(name,client)
end
function add(name,client,arg)
-- TODO: par single and double quotes properly
local f
if name == "enqueue" then
f = vlc.playlist.enqueue
...
...
@@ -336,8 +337,8 @@ function ret_print(foo,start,stop)
return
function
(
discard
,
client
,
...
)
client
:
append
(
start
..
tostring
(
foo
(
...
))
..
stop
)
end
end
function
get_time
(
var
,
client
)
return
function
()
function
get_time
(
var
)
return
function
(
name
,
client
)
local
input
=
vlc
.
object
.
input
()
client
:
append
(
math.floor
(
vlc
.
var
.
get
(
input
,
var
)))
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