Add a base extractFrame that just treats the entire buffer as a frame
This commit is contained in:
parent
c94e2c0f13
commit
afd57ec307
|
@ -3,7 +3,6 @@
|
|||
** support, and with no warranty, express or implied, as to its usefulness for
|
||||
** any purpose.
|
||||
**
|
||||
** v4l2DeviceSource.cpp
|
||||
**
|
||||
** ZoneMinder Live555 source
|
||||
**
|
||||
|
@ -188,3 +187,10 @@ std::list< std::pair<unsigned char*,size_t> > ZoneMinderDeviceSource::splitFrame
|
|||
}
|
||||
return frameList;
|
||||
}
|
||||
|
||||
// extract a frame
|
||||
unsigned char* ZoneMinderDeviceSource::extractFrame(unsigned char* frame, size_t& size, size_t& outsize) {
|
||||
outsize = size;
|
||||
size = 0;
|
||||
return frame;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue