From: Edward Hervey Date: Sat, 12 Nov 2005 13:31:56 +0000 (+0000) Subject: ext/jpeg/gstjpegdec.c: Only GST_DEBUG() information on the valid components. X-Git-Tag: 1.19.3~509^2~13287 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57b2ee4bb58e2783618d4ccb385dbf782c4ba3b1;p=platform%2Fupstream%2Fgstreamer.git ext/jpeg/gstjpegdec.c: Only GST_DEBUG() information on the valid components. Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain): Only GST_DEBUG() information on the valid components. --- diff --git a/ChangeLog b/ChangeLog index 3ca8f3c..8d35224 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-12 Edward Hervey + + * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain): + Only GST_DEBUG() information on the valid components. + 2005-11-11 Thomas Vander Stichele * configure.ac: back to HEAD diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index e1a456f..ab54772 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -761,7 +761,7 @@ gst_jpeg_dec_chain (GstPad * pad, GstBuffer * buf) GST_DEBUG ("num_components=%d, comps_in_scan=%d\n", dec->cinfo.num_components, dec->cinfo.comps_in_scan); - for (i = 0; i < 3; ++i) { + for (i = 0; i < dec->cinfo.num_components; ++i) { GST_DEBUG ("[%d] h_samp_factor=%d, v_samp_factor=%d\n", i, dec->cinfo.cur_comp_info[i]->h_samp_factor, dec->cinfo.cur_comp_info[i]->v_samp_factor);