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:
parent
0380f76a14
commit
425f22fe3c
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue