about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/media_attachment.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
index 1bea8c872..65ff893a8 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -36,17 +36,17 @@ class MediaAttachment < ApplicationRecord
   IMAGE_STYLES = { original: '1280x1280>', small: '400x400>' }.freeze
   AUDIO_STYLES = {
     original: {
-        format: 'mp4',
-        convert_options: {
-            output: {
-                filter_complex: '"[0:a]compand,showwaves=s=640x360:mode=line,format=yuv420p[v]"',
-                map: '"[v]" -map 0:a', 
-                threads: 2,
-                vcodec: 'libx264',
-                acodec: 'aac',
-                movflags: '+faststart',
-            },
+      format: 'mp4',
+      convert_options: {
+        output: {
+          filter_complex: '"[0:a]compand,showwaves=s=640x360:mode=line,format=yuv420p[v]"',
+          map: '"[v]" -map 0:a', 
+          threads: 2,
+          vcodec: 'libx264',
+          acodec: 'aac',
+          movflags: '+faststart',
         },
+      },
     },
   }.freeze
   VIDEO_STYLES = {