diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb index 5f706e6e9..60dbd8fe1 100644 --- a/config/initializers/new_framework_defaults_7_0.rb +++ b/config/initializers/new_framework_defaults_7_0.rb @@ -46,8 +46,8 @@ Rails.application.config.action_mailer.smtp_timeout = 5 # The ActiveStorage video previewer will now use scene change detection to generate # better preview images (rather than the previous default of using the first frame # of the video). -# Rails.application.config.active_storage.video_preview_arguments = -# "-vf 'select=eq(n\\,0)+eq(key\\,1)+gt(scene\\,0.015),loop=loop=-1:size=2,trim=start_frame=1' -frames:v 1 -f image2" +Rails.application.config.active_storage.video_preview_arguments = + "-vf 'select=eq(n\\,0)+eq(key\\,1)+gt(scene\\,0.015),loop=loop=-1:size=2,trim=start_frame=1' -frames:v 1 -f image2" # Automatically infer `inverse_of` for associations with a scope. # Rails.application.config.active_record.automatic_scope_inversing = true