add ffmpeg initializer (#8855)

* add ffmpeg initializer

* use different expression to check for environment var
This commit is contained in:
Sascha 2018-10-09 03:02:52 +02:00 committed by Eugen Rochko
parent 87abbb07f3
commit b2a57a5d6f
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
if ENV['FFMPEG_BINARY'].present?
FFMPEG.ffmpeg_binary = ENV['FFMPEG_BINARY']
end