2020-05-15 09:39:32 +02:00
|
|
|
package meta
|
|
|
|
|
|
|
|
const CodecUnknown = ""
|
|
|
|
const CodecJpeg = "jpeg"
|
|
|
|
const CodecAvc1 = "avc1"
|
2020-05-27 13:40:21 +02:00
|
|
|
const CodecHeic = "heic"
|
|
|
|
const CodecXMP = "xmp"
|
2020-05-15 09:39:32 +02:00
|
|
|
|
|
|
|
// CodecAvc1 returns true if the video is encoded with H.264/AVC
|
|
|
|
func (data Data) CodecAvc1() bool {
|
|
|
|
return data.Codec == CodecAvc1
|
|
|
|
}
|