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
|
|
|
|
2020-12-12 17:20:31 +01:00
|
|
|
// CodecAvc returns true if the video format is MPEG-4 AVC.
|
|
|
|
func (data Data) CodecAvc() bool {
|
2020-05-15 09:39:32 +02:00
|
|
|
return data.Codec == CodecAvc1
|
|
|
|
}
|