Add a base extractFrame that just treats the entire buffer as a frame

This commit is contained in:
Isaac Connor 2021-01-22 19:25:38 -05:00
parent c94e2c0f13
commit afd57ec307
1 changed files with 7 additions and 1 deletions

View File

@ -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;
}