projects
/
HTML5TV.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7c81676
)
always produce jpeg
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 15 Oct 2009 18:56:47 +0000
(20:56 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 15 Oct 2009 18:56:47 +0000
(20:56 +0200)
bin/mplayer.pl
patch
|
blob
|
history
diff --git
a/bin/mplayer.pl
b/bin/mplayer.pl
index
1ad67ec
..
08ec71f
100755
(executable)
--- a/
bin/mplayer.pl
+++ b/
bin/mplayer.pl
@@
-205,13
+205,11
@@
sub html5tv {
}
- my $path = "$media_dir/s/$factor";
-
foreach my $hires ( @slides_hires ) {
my $file = $hires;
- $file =~ s{(\d+
\.\w)$}{$path/$1
} || warn "can't rewrite $file";
- warn "slide $hires $file\n";
+ $file =~ s{(\d+
)\.\w+$}{$path/$1.jpg
} || warn "can't rewrite $file";
+ warn "slide $hires
->
$file\n";
next if -e $file;
my $im = Imager->new( file => $hires );