[Mplayer-cvslog] CVS: main/libvo vo_jpeg.c,1.8,1.9
Zoltan Ponekker
pontscho at mplayerhq.hu
Sun Nov 24 22:28:36 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv10472
Modified Files:
vo_jpeg.c
Log Message:
patch from tonglijing <tong at intec.iscas.ac.cn>
Index: vo_jpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_jpeg.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vo_jpeg.c 11 Nov 2002 15:20:26 -0000 1.8
+++ vo_jpeg.c 24 Nov 2002 21:28:32 -0000 1.9
@@ -119,16 +119,17 @@
jpeg_create_compress(&cinfo);
jpeg_stdio_dest( &cinfo,o );
- jpeg_set_quality( &cinfo,jpeg_quality,jpeg_baseline );
cinfo.image_width=image_width;
cinfo.image_height=image_height;
cinfo.input_components=bpp / 8;
cinfo.in_color_space=JCS_RGB;
- cinfo.optimize_coding=jpeg_optimize;
- cinfo.smoothing_factor=jpeg_smooth;
jpeg_set_defaults( &cinfo );
+ jpeg_set_quality( &cinfo,jpeg_quality,jpeg_baseline );
+ cinfo.optimize_coding=jpeg_optimize;
+ cinfo.smoothing_factor=jpeg_smooth;
+
if ( jpeg_progressive_mode ) jpeg_simple_progression( &cinfo );
jpeg_start_compress( &cinfo,TRUE );
More information about the MPlayer-cvslog
mailing list