fix init when no GSOAP
This commit is contained in:
parent
f01ecf2a16
commit
a153798b47
|
@ -419,12 +419,14 @@ Monitor::Monitor()
|
|||
privacy_bitmask(nullptr),
|
||||
n_linked_monitors(0),
|
||||
linked_monitors(nullptr),
|
||||
#ifdef WITH_GSOAP
|
||||
soap(nullptr),
|
||||
#endif
|
||||
red_val(0),
|
||||
green_val(0),
|
||||
blue_val(0),
|
||||
grayscale_val(0),
|
||||
colour_val(0),
|
||||
soap(nullptr)
|
||||
colour_val(0)
|
||||
{
|
||||
|
||||
if ( strcmp(config.event_close_mode, "time") == 0 )
|
||||
|
|
|
@ -431,14 +431,6 @@ protected:
|
|||
std::string diag_path_ref;
|
||||
std::string diag_path_delta;
|
||||
|
||||
// Used in check signal
|
||||
uint8_t red_val;
|
||||
uint8_t green_val;
|
||||
uint8_t blue_val;
|
||||
uint8_t grayscale_val; /* 8bit grayscale color */
|
||||
Rgb colour_val; /* RGB32 color */
|
||||
int usedsubpixorder;
|
||||
|
||||
//ONVIF
|
||||
#ifdef WITH_GSOAP
|
||||
struct soap *soap;
|
||||
|
@ -451,6 +443,15 @@ protected:
|
|||
PullPointSubscriptionBindingProxy proxyEvent;
|
||||
void set_credentials(struct soap *soap);
|
||||
#endif
|
||||
|
||||
// Used in check signal
|
||||
uint8_t red_val;
|
||||
uint8_t green_val;
|
||||
uint8_t blue_val;
|
||||
uint8_t grayscale_val; /* 8bit grayscale color */
|
||||
Rgb colour_val; /* RGB32 color */
|
||||
int usedsubpixorder;
|
||||
|
||||
public:
|
||||
explicit Monitor();
|
||||
|
||||
|
|
Loading…
Reference in New Issue