diff options
author | 2024-08-08 10:12:16 +0200 | |
---|---|---|
committer | 2024-08-08 08:12:16 +0000 | |
commit | b19cfee7aefbc42bdba8f45d5fb99feb2c2385fe (patch) | |
tree | a21493efc386bbfa98560df9c308ea1aea555dd6 /internal/media/processingmedia.go | |
parent | updates our ffmpreg version, heh (#3181) (diff) | |
download | gotosocial-b19cfee7aefbc42bdba8f45d5fb99feb2c2385fe.tar.xz |
[feature] Use gifv type for short soundless mp4 videos (#3182)
Diffstat (limited to 'internal/media/processingmedia.go')
-rw-r--r-- | internal/media/processingmedia.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/media/processingmedia.go b/internal/media/processingmedia.go index 504cda11e..1d286bda7 100644 --- a/internal/media/processingmedia.go +++ b/internal/media/processingmedia.go @@ -202,7 +202,8 @@ func (p *ProcessingMedia) store(ctx context.Context) error { switch p.media.Type { case gtsmodel.FileTypeImage, - gtsmodel.FileTypeVideo: + gtsmodel.FileTypeVideo, + gtsmodel.FileTypeGifv: // Attempt to clean as metadata from file as possible. if err := clearMetadata(ctx, temppath); err != nil { return gtserror.Newf("error cleaning metadata: %w", err) |