]> cat aescling's git repositories - mastodon.git/commitdiff
remove audio metadata (#12171)
authorHugo Gameiro <hmgameiro@gmail.com>
Thu, 24 Oct 2019 20:47:58 +0000 (21:47 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 24 Oct 2019 20:47:58 +0000 (22:47 +0200)
app/models/media_attachment.rb

index 9c6c04556e282e971b6dd87e3f4b520b5bc936b9..13737742241a440e0b4f89398537896b103b97dc 100644 (file)
@@ -87,6 +87,7 @@ class MediaAttachment < ApplicationRecord
       convert_options: {
         output: {
           'loglevel' => 'fatal',
+          'map_metadata' => '-1',
           'q:a' => 2,
         },
       },