mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-13 03:37:28 -06:00
[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>
This commit is contained in:
parent
027a93facc
commit
c635080a0b
4 changed files with 21 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue