mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-07-05 10:49:47 -04:00
Revert "Don't consult a Camera object to return colours and subpixelorder, we have those as members. Fixes crash in zms"
This reverts commit 48f79da892.
This commit is contained in:
@@ -3030,6 +3030,8 @@ bool Monitor::DumpSettings(char *output, bool verbose) {
|
||||
return true;
|
||||
} // bool Monitor::DumpSettings(char *output, bool verbose)
|
||||
|
||||
unsigned int Monitor::Colours() const { return camera->Colours(); }
|
||||
unsigned int Monitor::SubpixelOrder() const { return camera->SubpixelOrder(); }
|
||||
|
||||
int Monitor::PrimeCapture() {
|
||||
int ret = camera->PrimeCapture();
|
||||
|
||||
@@ -499,8 +499,8 @@ public:
|
||||
|
||||
unsigned int Width() const { return width; }
|
||||
unsigned int Height() const { return height; }
|
||||
unsigned int Colours() const { return colours; }
|
||||
unsigned int SubpixelOrder() const { return subpixelorder; };
|
||||
unsigned int Colours() const;
|
||||
unsigned int SubpixelOrder() const;
|
||||
|
||||
int GetAudioFrequency() const { return shared_data ? shared_data->audio_frequency : -1; }
|
||||
int GetAudioChannels() const { return shared_data ? shared_data->audio_channels : -1; }
|
||||
|
||||
Reference in New Issue
Block a user