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
e63678cc
Commit
e63678cc
authored
Sep 24, 2011
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
web intf: fix volume on the 200% base
parent
fc1227e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
share/lua/http/js/controlers.js
share/lua/http/js/controlers.js
+1
-1
share/lua/http/js/ui.js
share/lua/http/js/ui.js
+1
-1
No files found.
share/lua/http/js/controlers.js
View file @
e63678cc
...
@@ -20,7 +20,7 @@ function updateStatus(){
...
@@ -20,7 +20,7 @@ function updateStatus(){
$
(
'
#totalTime
'
).
append
(
format_time
(
$
(
'
length
'
,
data
).
text
()));
$
(
'
#totalTime
'
).
append
(
format_time
(
$
(
'
length
'
,
data
).
text
()));
$
(
'
#currentTime
'
).
append
(
format_time
(
$
(
'
time
'
,
data
).
text
()));
$
(
'
#currentTime
'
).
append
(
format_time
(
$
(
'
time
'
,
data
).
text
()));
$
(
'
#seekSlider
'
).
slider
({
value
:
toFloat
(
$
(
'
position
'
,
data
).
text
())
*
100
});
$
(
'
#seekSlider
'
).
slider
({
value
:
toFloat
(
$
(
'
position
'
,
data
).
text
())
*
100
});
$
(
'
#currentVolume
'
).
append
(
Math
.
round
(
$
(
'
volume
'
,
data
).
text
()
/
5.12
)
+
'
%
'
);
$
(
'
#currentVolume
'
).
append
(
Math
.
round
(
$
(
'
volume
'
,
data
).
text
()
/
2.56
)
+
'
%
'
);
$
(
'
#volumeSlider
'
).
slider
({
value
:
(
$
(
'
volume
'
,
data
).
text
()
/
5.12
)
});
$
(
'
#volumeSlider
'
).
slider
({
value
:
(
$
(
'
volume
'
,
data
).
text
()
/
5.12
)
});
$
(
'
#rateSlider
'
).
slider
({
value
:
(
$
(
'
rate
'
,
data
).
text
())
});
$
(
'
#rateSlider
'
).
slider
({
value
:
(
$
(
'
rate
'
,
data
).
text
())
});
$
(
'
#currentRate
'
).
append
(
Math
.
round
(
$
(
'
rate
'
,
data
).
text
()
*
100
)
/
100
+
'
x
'
);
$
(
'
#currentRate
'
).
append
(
Math
.
round
(
$
(
'
rate
'
,
data
).
text
()
*
100
)
/
100
+
'
x
'
);
...
...
share/lua/http/js/ui.js
View file @
e63678cc
...
@@ -22,7 +22,7 @@ $(function(){
...
@@ -22,7 +22,7 @@ $(function(){
min
:
0
,
min
:
0
,
max
:
100
,
max
:
100
,
stop
:
function
(
event
,
ui
)
{
stop
:
function
(
event
,
ui
)
{
$
(
"
#currentVolume
"
).
empty
().
append
(
ui
.
value
+
"
%
"
);
$
(
"
#currentVolume
"
).
empty
().
append
(
ui
.
value
*
2
+
"
%
"
);
sendCommand
({
sendCommand
({
'
command
'
:
'
volume
'
,
'
command
'
:
'
volume
'
,
'
val
'
:
Math
.
round
(
ui
.
value
*
5.12
)
'
val
'
:
Math
.
round
(
ui
.
value
*
5.12
)
...
...
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