]> cat aescling's git repositories - mastodon.git/commitdiff
update indentation
authorDJ Sundog <sundog@reclaim.technology>
Sat, 7 Oct 2017 20:53:46 +0000 (13:53 -0700)
committerGitHub <noreply@github.com>
Sat, 7 Oct 2017 20:53:46 +0000 (13:53 -0700)
app/models/media_attachment.rb

index 1bea8c872c49fc80b7373c74793e78adbec7c9d0..65ff893a802c7826898c823d86e72dfac497f04a 100644 (file)
@@ -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 = {
This page took 0.025723 seconds and 3 git commands to generate.