Change encoder to a text field. enums will be too much of a hassle
This commit is contained in:
parent
09e5c47f3e
commit
e514c77e90
|
@ -483,7 +483,7 @@ CREATE TABLE `Monitors` (
|
||||||
`SaveJPEGs` TINYINT NOT NULL DEFAULT '3' ,
|
`SaveJPEGs` TINYINT NOT NULL DEFAULT '3' ,
|
||||||
`VideoWriter` TINYINT NOT NULL DEFAULT '0',
|
`VideoWriter` TINYINT NOT NULL DEFAULT '0',
|
||||||
`OutputCodec` int(10) unsigned NOT NULL default 0,
|
`OutputCodec` int(10) unsigned NOT NULL default 0,
|
||||||
`Encoder` enum('auto','h264','libx264','h264_omx','h264_vaapi','mjpeg','mpeg1','mpeg2'),
|
`Encoder` varchar(32),
|
||||||
`OutputContainer` enum('auto','mp4','mkv'),
|
`OutputContainer` enum('auto','mp4','mkv'),
|
||||||
`EncoderParameters` TEXT,
|
`EncoderParameters` TEXT,
|
||||||
`RecordAudio` TINYINT NOT NULL DEFAULT '0',
|
`RecordAudio` TINYINT NOT NULL DEFAULT '0',
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE `Monitors` MODIFY `Encoder` varchar(32);
|
Loading…
Reference in New Issue