diff options
author | 2024-11-04 13:58:15 +0000 | |
---|---|---|
committer | 2024-11-04 14:58:15 +0100 | |
commit | 8f288f1689376a8cf6ab7f431e862eb870765342 (patch) | |
tree | 42442833af06948eb3ec9f7710ed35b809cd6992 /internal/api | |
parent | [chore]: Bump github.com/minio/minio-go/v7 from 7.0.79 to 7.0.80 (#3511) (diff) | |
download | gotosocial-8f288f1689376a8cf6ab7f431e862eb870765342.tar.xz |
[bugfix] determine mime-type to use during ffprobe evaluation stage, don't bother checking against file extension (#3506)
* determine mime-type to use during ffprobe evaluation stage, don't bother rechecking by file extension
* set mjpeg content-type
* fix up tests expecting differing default values
Diffstat (limited to 'internal/api')
-rw-r--r-- | internal/api/client/instance/instancepatch_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/api/client/instance/instancepatch_test.go b/internal/api/client/instance/instancepatch_test.go index 5c7923adc..504fd7eb9 100644 --- a/internal/api/client/instance/instancepatch_test.go +++ b/internal/api/client/instance/instancepatch_test.go @@ -120,7 +120,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch1() { "image/apng", "audio/ogg", "video/ogg", - "audio/x-m4a", + "audio/mp4", "video/mp4", "video/quicktime", "audio/x-ms-wma", @@ -261,7 +261,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch2() { "image/apng", "audio/ogg", "video/ogg", - "audio/x-m4a", + "audio/mp4", "video/mp4", "video/quicktime", "audio/x-ms-wma", @@ -402,7 +402,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch3() { "image/apng", "audio/ogg", "video/ogg", - "audio/x-m4a", + "audio/mp4", "video/mp4", "video/quicktime", "audio/x-ms-wma", @@ -594,7 +594,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch6() { "image/apng", "audio/ogg", "video/ogg", - "audio/x-m4a", + "audio/mp4", "video/mp4", "video/quicktime", "audio/x-ms-wma", @@ -757,7 +757,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch8() { "image/apng", "audio/ogg", "video/ogg", - "audio/x-m4a", + "audio/mp4", "video/mp4", "video/quicktime", "audio/x-ms-wma", @@ -939,7 +939,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch9() { "image/apng", "audio/ogg", "video/ogg", - "audio/x-m4a", + "audio/mp4", "video/mp4", "video/quicktime", "audio/x-ms-wma", |