mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-28 08:53:33 -06:00
[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
This commit is contained in:
parent
d2820a1470
commit
8f288f1689
16 changed files with 85 additions and 1378 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue