codec/codecutil/list.go: added JPEG constant to codec consts enum

This commit is contained in:
Saxon Nelson-Milton 2021-01-12 15:05:25 +10:30
parent 052d3fcad8
commit ca3f6b7620
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ const (
H264 H264
H265 H265
MJPEG MJPEG
JPEG
) )
// IsValid recieves an int representing a codec and checks if it is valid. // IsValid recieves an int representing a codec and checks if it is valid.