Bug 164: Fixed wrong quality variable for streamed images.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1490 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-09-22 14:06:06 +00:00
parent 0380f76a14
commit 425f22fe3c
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ void Image::EncodeJpeg( JOCTET *outbuffer, int *outbuffer_size ) const
} }
jpeg_set_defaults(&cinfo); jpeg_set_defaults(&cinfo);
cinfo.dct_method = JDCT_FASTEST; cinfo.dct_method = JDCT_FASTEST;
jpeg_set_quality(&cinfo, config.jpeg_file_quality, false); jpeg_set_quality(&cinfo, config.jpeg_image_quality, false);
jpeg_start_compress(&cinfo, TRUE); jpeg_start_compress(&cinfo, TRUE);
JSAMPROW row_pointer; /* pointer to a single row */ JSAMPROW row_pointer; /* pointer to a single row */