summaryrefslogtreecommitdiff
path: root/internal/media/manager.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2024-11-04 13:58:15 +0000
committerLibravatar GitHub <noreply@github.com>2024-11-04 14:58:15 +0100
commit8f288f1689376a8cf6ab7f431e862eb870765342 (patch)
tree42442833af06948eb3ec9f7710ed35b809cd6992 /internal/media/manager.go
parent[chore]: Bump github.com/minio/minio-go/v7 from 7.0.79 to 7.0.80 (#3511) (diff)
downloadgotosocial-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/media/manager.go')
-rw-r--r--internal/media/manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/media/manager.go b/internal/media/manager.go
index 22afd0028..2807848bd 100644
--- a/internal/media/manager.go
+++ b/internal/media/manager.go
@@ -56,7 +56,7 @@ var SupportedMIMETypes = []string{
"video/ogg", // .ogv
// mpeg4 types
- "audio/x-m4a", // .m4a
+ "audio/mp4", // .m4a
"video/mp4", // .mp4
"video/quicktime", // .mov