git.videolan.org
/
vlc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test.html: print pretty output when vlc.input.length and vlc.input.time return -1.
[vlc.git]
/
projects
/
mozilla
/
test.html
diff --git
a/projects/mozilla/test.html
b/projects/mozilla/test.html
index
f87932e
..
2f60860
100644
(file)
--- a/
projects/mozilla/test.html
+++ b/
projects/mozilla/test.html
@@
-391,6
+391,9
@@
function updateVolume(deltaVol)
\r
function formatTime(timeVal)
\r
{
\r
\r
function formatTime(timeVal)
\r
{
\r
+ if( typeof timeVal != 'number' )
\r
+ return "-:--:--";
\r
+
\r
var timeHour = Math.round(timeVal / 1000);
\r
var timeSec = timeHour % 60;
\r
if( timeSec < 10 )
\r
var timeHour = Math.round(timeVal / 1000);
\r
var timeSec = timeHour % 60;
\r
if( timeSec < 10 )
\r