This commit is contained in:
Isaac Connor committed 2017-08-11 12:20:46 -04:00
1 parent daee5b4450
commit 83f8a240d5
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -560,7 +560,7 @@ bool Monitor::connect() {
Debug(3,"Aligning shared memory images to the next 64 byte boundary");
shared_images = (uint8_t*)((unsigned long)shared_images + (64 - ((unsigned long)shared_images % 64)));
}
if ( purpose == CAPTURE ) {
if ( purpose != ANALYSIS ) {
Debug(3, "Allocating %d image buffers", image_buffer_count );
image_buffer = new Snapshot[image_buffer_count];
for ( int i = 0; i < image_buffer_count; i++ ) {
+4 -1
View File
@@ -484,7 +484,10 @@ void MonitorStream::runStream() {
openComms();
checkInitialised();
if ( ! checkInitialised() ) {
Error("Not initialized");
return;
}
updateFrameRate( monitor->GetFPS() );