diff options
author | 2024-08-19 13:38:10 +0000 | |
---|---|---|
committer | 2024-08-19 13:38:10 +0000 | |
commit | 889d4756eaabb8fa3218acc1e2cfcadf72d40822 (patch) | |
tree | de225eedda67b2ea44a14c57f9d3451ec4beb949 /internal/media/processingemoji.go | |
parent | [chore] update default http client timeout to 30s (#3214) (diff) | |
download | gotosocial-889d4756eaabb8fa3218acc1e2cfcadf72d40822.tar.xz |
[performance] use native Go code to probe JPEGs (#3206)
* use native Go code to probe JPEGs
* add note about copying from github.com/disintegration/imaging
* add more code comments
Diffstat (limited to 'internal/media/processingemoji.go')
-rw-r--r-- | internal/media/processingemoji.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/media/processingemoji.go b/internal/media/processingemoji.go index 696b78ed3..89a1bcc91 100644 --- a/internal/media/processingemoji.go +++ b/internal/media/processingemoji.go @@ -154,7 +154,7 @@ func (p *ProcessingEmoji) store(ctx context.Context) error { // Pass input file through ffprobe to // parse further metadata information. - result, err := ffprobe(ctx, temppath) + result, err := probe(ctx, temppath) if err != nil && !isUnsupportedTypeErr(err) { return gtserror.Newf("ffprobe error: %w", err) } else if result == nil { |