projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
363fd84
)
fix 27b5d1952926a7bf7cd1f1d35305c7dde1c4a195 "Thread.critical does not exist in ruby...
author
Guillaume Cottenceau
<gcottenc@gmail.com>
Mon, 1 Nov 2010 22:46:20 +0000
(23:46 +0100)
committer
Guillaume Cottenceau
<gcottenc@gmail.com>
Mon, 1 Nov 2010 22:46:20 +0000
(23:46 +0100)
lib/booh/booh-lib.rb
patch
|
blob
|
history
diff --git
a/lib/booh/booh-lib.rb
b/lib/booh/booh-lib.rb
index
08578da
..
ecc3ff1
100644
(file)
--- a/
lib/booh/booh-lib.rb
+++ b/
lib/booh/booh-lib.rb
@@
-350,6
+350,7
@@
module Booh
#- it's not possible to specify a basename for the output jpeg file with mplayer (file will be named 00000001.jpg); as this can
#- be called from multiple threads, we must come up with a unique directory where to put the file
tmpfile = Tempfile.new("boohvideotmp")
+ tmpdirname = nil
$video_thumbnail_directory_lock.synchronize {
tmpdirname = tmpfile.path
tmpfile.close!