about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorSascha <sascha@serenitylabs.cloud>2018-10-09 03:02:52 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-10-09 03:02:52 +0200
commitb2a57a5d6f7d98d37aaa6b877291bc789ce07511 (patch)
tree401f30e59c1944f39ee6beedf29f3a61e49e5c22 /config
parent87abbb07f3ed7c4b57dfb66e31ecc4334a938b57 (diff)
add ffmpeg initializer (#8855)
* add ffmpeg initializer

* use different expression to check for environment var
Diffstat (limited to 'config')
-rw-r--r--config/initializers/ffmpeg.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/ffmpeg.rb b/config/initializers/ffmpeg.rb
new file mode 100644
index 000000000..4c0bf779d
--- /dev/null
+++ b/config/initializers/ffmpeg.rb
@@ -0,0 +1,3 @@
+if ENV['FFMPEG_BINARY'].present?
+    FFMPEG.ffmpeg_binary = ENV['FFMPEG_BINARY']
+end