mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
add ffmpeg initializer (#8855)
* add ffmpeg initializer * use different expression to check for environment var
This commit is contained in:
parent
87abbb07f3
commit
b2a57a5d6f
1 changed files with 3 additions and 0 deletions
3
config/initializers/ffmpeg.rb
Normal file
3
config/initializers/ffmpeg.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
if ENV['FFMPEG_BINARY'].present?
|
||||
FFMPEG.ffmpeg_binary = ENV['FFMPEG_BINARY']
|
||||
end
|
Loading…
Reference in a new issue