diff options
author | 2024-07-21 13:42:51 +0100 | |
---|---|---|
committer | 2024-07-21 14:42:51 +0200 | |
commit | c635080a0bfc7efd8519adfa527b012115cb0208 (patch) | |
tree | e2754d5084ea07b3aa51aa57fa21945d3e28da8e /internal/typeutils/internaltofrontend_test.go | |
parent | [feature/frontend] Respect `prefers-reduced-motion` for avatars, headers, and... (diff) | |
download | gotosocial-c635080a0bfc7efd8519adfa527b012115cb0208.tar.xz |
[feature] add flac support (#3121)
* add flac support to the ffprobe format/stream -> filetype parser
* also add audio/flac for flac (not just x-flac)
* update tests
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'internal/typeutils/internaltofrontend_test.go')
-rw-r--r-- | internal/typeutils/internaltofrontend_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/typeutils/internaltofrontend_test.go b/internal/typeutils/internaltofrontend_test.go index 3599e7b56..faae22e65 100644 --- a/internal/typeutils/internaltofrontend_test.go +++ b/internal/typeutils/internaltofrontend_test.go @@ -1432,6 +1432,8 @@ func (suite *InternalToFrontendTestSuite) TestInstanceV1ToFrontend() { "audio/mp2", "audio/mp3", "video/x-msvideo", + "audio/flac", + "audio/x-flac", "image/png", "image/apng", "audio/ogg", @@ -1570,6 +1572,8 @@ func (suite *InternalToFrontendTestSuite) TestInstanceV2ToFrontend() { "audio/mp2", "audio/mp3", "video/x-msvideo", + "audio/flac", + "audio/x-flac", "image/png", "image/apng", "audio/ogg", |