X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=camera%2Fcapture.c;h=8ec196d832fff6d038dd231f34432417dc790679;hb=828cdbf49f52572e93c5c5a48e05277525a4055f;hp=815cef070137cd2a3ed90ae57f09e7c3e208b6cc;hpb=46ed6195cfef4bb35058522eaacafbbf2cdde7a8;p=matches%2FMCTX3420.git diff --git a/camera/capture.c b/camera/capture.c index 815cef0..8ec196d 100644 --- 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; - 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); - + cvReleaseImageHeader(&frame); return 1; }