photoprism/internal/meta/codec.go
Michael Mayer 71fb67adb2 Videos: Support H.264/AVC .mov files
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-15 09:39:32 +02:00

10 lines
224 B
Go

package meta
const CodecUnknown = ""
const CodecJpeg = "jpeg"
const CodecAvc1 = "avc1"
// CodecAvc1 returns true if the video is encoded with H.264/AVC
func (data Data) CodecAvc1() bool {
return data.Codec == CodecAvc1
}