git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic commit of irc logs
[matches/MCTX3420.git]
/
camera
/
capture.c
diff --git
a/camera/capture.c
b/camera/capture.c
index
815cef0
..
8ec196d
100644
(file)
--- a/
camera/capture.c
+++ b/
camera/capture.c
@@
-22,14
+22,14
@@
int storeFrame( CvCapture* capture)
/*int p[3];
p[0] = CV_IMWRITE_JPEG_QUALITY;
/*int p[3];
p[0] = CV_IMWRITE_JPEG_QUALITY;
- p[1] = 10;
+ p[1] = 10;
//quality value; 0->100
p[2] = 0;*/
frame = cvQueryFrame(capture);
if( frame == NULL)
return 0; //error
cvSaveImage(filepath,frame,0);
p[2] = 0;*/
frame = cvQueryFrame(capture);
if( frame == NULL)
return 0; //error
cvSaveImage(filepath,frame,0);
-
+ cvReleaseImageHeader(&frame);
return 1;
}
return 1;
}
UCC
git Repository :: git.ucc.asn.au