projects
/
HTML5TV.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48460ed
)
when resizing slides, use integer size
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Nov 2009 13:29:08 +0000
(14:29 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Nov 2009 13:29:08 +0000
(14:29 +0100)
bin/mplayer.pl
patch
|
blob
|
history
diff --git
a/bin/mplayer.pl
b/bin/mplayer.pl
index
b78c3c2
..
07a6c11
100755
(executable)
--- a/
bin/mplayer.pl
+++ b/
bin/mplayer.pl
@@
-270,8
+270,8
@@
sub html5tv {
$min_slide_height = $prop->{height} if $prop->{height} > $min_slide_height;
- my $w =
$min_slide_height / $factor * $slide_aspect
;
- my $h =
$min_slide_height / $factor
;
+ my $w =
int( $min_slide_height / $factor * $slide_aspect )
;
+ my $h =
int( $min_slide_height / $factor )
;
warn "slide [$nr] $hires -> ${w}x${h} $file\n";