From 425f22fe3cc20f7cc8229e8eb9ce5bf0838b8b25 Mon Sep 17 00:00:00 2001 From: stan Date: Thu, 22 Sep 2005 14:06:06 +0000 Subject: [PATCH] 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 --- src/zm_image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_image.cpp b/src/zm_image.cpp index b3715ef60..653561365 100644 --- a/src/zm_image.cpp +++ b/src/zm_image.cpp @@ -276,7 +276,7 @@ void Image::EncodeJpeg( JOCTET *outbuffer, int *outbuffer_size ) const } jpeg_set_defaults(&cinfo); 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); JSAMPROW row_pointer; /* pointer to a single row */