github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/chat/attachments/preview_dummy.go (about) 1 //go:build !darwin && !android 2 // +build !darwin,!android 3 4 package attachments 5 6 import ( 7 "io" 8 9 "github.com/keybase/client/go/chat/types" 10 "github.com/keybase/client/go/chat/utils" 11 "golang.org/x/net/context" 12 ) 13 14 func previewVideo(ctx context.Context, log utils.DebugLabeler, src io.Reader, 15 basename string, nvh types.NativeVideoHelper) (*PreviewRes, error) { 16 return previewVideoBlank(ctx, log, src, basename) 17 } 18 19 func HEICToJPEG(ctx context.Context, log utils.DebugLabeler, basename string) (dat []byte, err error) { 20 return nil, nil 21 }