Rename H264PASSTHROUGH to just PASSTHROUGH. Add an analysis_it to the Monitor object as it will no longer exist in the packetqueue

This commit is contained in:
Isaac Connor 2021-01-06 11:32:09 -05:00
parent e93a895f28
commit 315dccdaec
1 changed files with 4 additions and 2 deletions

View File

@ -104,8 +104,8 @@ public:
typedef enum {
DISABLED,
X264ENCODE,
H264PASSTHROUGH,
ENCODE,
PASSTHROUGH,
} VideoWriter;
protected:
@ -194,6 +194,7 @@ protected:
VideoStore *videoStore;
zm_packetqueue *packetqueue;
packetqueue_iterator *analysis_it;
Mutex mutex;
class MonitorLink {
@ -425,6 +426,7 @@ public:
return storage;
}
inline Function GetFunction() const { return function; }
inline zm_packetqueue * GetPacketQueue() const { return packetqueue; }
inline bool Enabled() const {
if ( function <= MONITOR )
return false;