projects
/
HTML5TV.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5d2d0
)
create $media_dir/s
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 15 Oct 2009 20:40:06 +0000
(22:40 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 15 Oct 2009 20:40:06 +0000
(22:40 +0200)
bin/mplayer.pl
patch
|
blob
|
history
diff --git
a/bin/mplayer.pl
b/bin/mplayer.pl
index
08ec71f
..
bf8997b
100755
(executable)
--- a/
bin/mplayer.pl
+++ b/
bin/mplayer.pl
@@
-197,7
+197,13
@@
sub html5tv {
my $w = $prop->{width} / $factor;
my $h = $prop->{height} / $factor;
- my $path = "$media_dir/s/$factor";
+ my $path = "$media_dir/s";
+ if ( ! -d $path ) {
+ warn "create slides imaes in $path";
+ mkdir $path;
+ }
+
+ $path .= '/' . $factor;
if ( ! -d $path ) {
mkdir $path;