fix init when no GSOAP

This commit is contained in:
Isaac Connor 2022-01-08 12:37:23 -05:00
parent f01ecf2a16
commit a153798b47
2 changed files with 13 additions and 10 deletions

View File

@ -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 )

View File

@ -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();