Add DecoderName to Monitors
parent
6d942dacb0
commit
47e4b7cf37
|
@ -87,7 +87,7 @@ std::string load_monitor_sql =
|
|||
"`LinkedMonitors`, `EventStartCommand`, `EventEndCommand`, `AnalysisFPSLimit`, `AnalysisUpdateDelay`, `MaxFPS`, `AlarmMaxFPS`,"
|
||||
"`Device`, `Channel`, `Format`, `V4LMultiBuffer`, `V4LCapturesPerFrame`, " // V4L Settings
|
||||
"`Protocol`, `Method`, `Options`, `User`, `Pass`, `Host`, `Port`, `Path`, `SecondPath`, `Width`, `Height`, `Colours`, `Palette`, `Orientation`+0, `Deinterlacing`, "
|
||||
"`DecoderHWAccelName`, `DecoderHWAccelDevice`, `RTSPDescribe`, "
|
||||
"`Decoder`, `DecoderHWAccelName`, `DecoderHWAccelDevice`, `RTSPDescribe`, "
|
||||
"`SaveJPEGs`, `VideoWriter`, `EncoderParameters`, "
|
||||
"`OutputCodec`, `Encoder`, `OutputContainer`, "
|
||||
"`RecordAudio`, "
|
||||
|
@ -451,7 +451,8 @@ void Monitor::Load(MYSQL_ROW dbrow, bool load_zones=true, Purpose p = QUERY) {
|
|||
deinterlacing = atoi(dbrow[col]); col++;
|
||||
deinterlacing_value = deinterlacing & 0xff;
|
||||
|
||||
/*"`DecoderHWAccelName`, `DecoderHWAccelDevice`, `RTSPDescribe`, " */
|
||||
/*"`Decoder`, `DecoderHWAccelName`, `DecoderHWAccelDevice`, `RTSPDescribe`, " */
|
||||
decoder_name = dbrow[col] ? dbrow[col] : ""; col++;
|
||||
decoder_hwaccel_name = dbrow[col] ? dbrow[col] : ""; col++;
|
||||
decoder_hwaccel_device = dbrow[col] ? dbrow[col] : ""; col++;
|
||||
rtsp_describe = (dbrow[col] && *dbrow[col] != '0'); col++;
|
||||
|
|
Loading…
Reference in New Issue