polly-ffmpeg 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ffmpeg.gemspec +1 -1
- data/lib/ffmpeg.rb +4 -4
- metadata +1 -1
data/ffmpeg.gemspec
CHANGED
data/lib/ffmpeg.rb
CHANGED
@@ -59,11 +59,11 @@ module FFMpeg
|
|
59
59
|
# Ru§ns ffmpeg
|
60
60
|
#
|
61
61
|
def run
|
62
|
-
@@ffmpeg_path ||=
|
63
|
-
unless
|
64
|
-
execute_command FFMpegCommand.command(
|
62
|
+
@@ffmpeg_path ||= locate_ffmpeg
|
63
|
+
unless @@ffmpeg_path.empty?
|
64
|
+
execute_command FFMpegCommand.command(@@ffmpeg_path)
|
65
65
|
else
|
66
|
-
$stderr.puts "Couldn't locate ffmpeg, try to specify an explicit path
|
66
|
+
$stderr.puts "Couldn't locate ffmpeg, try to specify an explicit path
|
67
67
|
with the ffmpeg_path(path) method"
|
68
68
|
end
|
69
69
|
end
|