get rid of useThread. We will always have a thread
This commit is contained in:
parent
afd57ec307
commit
c7b8d7bda9
|
@ -29,8 +29,10 @@ class ZoneMinderDeviceSource: public FramedSource {
|
||||||
UsageEnvironment& env,
|
UsageEnvironment& env,
|
||||||
Monitor* monitor,
|
Monitor* monitor,
|
||||||
AVStream * stream,
|
AVStream * stream,
|
||||||
unsigned int queueSize,
|
unsigned int queueSize
|
||||||
bool useThread);
|
) {
|
||||||
|
return new ZoneMinderDeviceSource(env, monitor, stream, queueSize);
|
||||||
|
};
|
||||||
std::string getAuxLine() { return m_auxLine; };
|
std::string getAuxLine() { return m_auxLine; };
|
||||||
int getWidth() { return m_monitor->Width(); };
|
int getWidth() { return m_monitor->Width(); };
|
||||||
int getHeight() { return m_monitor->Height(); };
|
int getHeight() { return m_monitor->Height(); };
|
||||||
|
@ -56,7 +58,7 @@ class ZoneMinderDeviceSource: public FramedSource {
|
||||||
// overide FramedSource
|
// overide FramedSource
|
||||||
virtual void doGetNextFrame();
|
virtual void doGetNextFrame();
|
||||||
virtual void doStopGettingFrames();
|
virtual void doStopGettingFrames();
|
||||||
virtual unsigned char *extractFrame(unsigned char *data, size_t& size, size_t& outsize) = 0;
|
virtual unsigned char *extractFrame(unsigned char *data, size_t& size, size_t& outsize);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
std::list<NAL_Frame*> m_captureQueue;
|
std::list<NAL_Frame*> m_captureQueue;
|
||||||
|
|
Loading…
Reference in New Issue