about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-05 22:55:24 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-05 22:55:24 +0100
commit85fce04d1b4353c3645c15967d222cdcdb488dfd (patch)
treebfb83bd4ec8b545b21741b633d4fd39a90fd1701 /app/models
parent4fb95c91fbf808bafa581b8976d94ec36eee8619 (diff)
Detect videos with no sound, handle them like gifv
Diffstat (limited to 'app/models')
-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 620a92dbc..d560bd673 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -80,7 +80,7 @@ class MediaAttachment < ApplicationRecord
       if f.file_content_type == 'image/gif'
         [:gif_transcoder]
       elsif VIDEO_MIME_TYPES.include? f.file_content_type
-        [:transcoder]
+        [:video_transcoder]
       else
         [:thumbnail]
       end