about summary refs log tree commit diff
path: root/app/models/media_attachment.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-05 23:43:58 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-05 23:43:58 +0100
commit8d93f0ca563322764ee4b5395598af542eb678e7 (patch)
treea0d37ef11e10e486ea3e4e5bbb9456c307bbffeb /app/models/media_attachment.rb
parent6382ef2bc6f54f01a107fc921a8f29ec2eb9878c (diff)
Increase max bitrate of converted webms, slightly optimized counter queries
(Because postgres can tell that count(*) needs no extra checks, but
counting a specific column requires them)
Diffstat (limited to 'app/models/media_attachment.rb')
-rw-r--r--app/models/media_attachment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
index 30a76f3ec..5241d9515 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -64,7 +64,7 @@ class MediaAttachment < ApplicationRecord
               output: {
                 'c:v'   => 'libvpx',
                 'crf'   => 4,
-                'b:v'   => '500K',
+                'b:v'   => '1300K',
                 'vsync' => 'cfr',
               },
             },