From e76d60c53d666cc42408bcea5e4060ac173798dd Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 26 Nov 2003 23:44:08 +0000 Subject: xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08 --- src/libtheora/xine_decoder.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libtheora') diff --git a/src/libtheora/xine_decoder.c b/src/libtheora/xine_decoder.c index be22c34be..cce78fb84 100644 --- a/src/libtheora/xine_decoder.c +++ b/src/libtheora/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.15 2003/11/26 19:43:36 f1rmb Exp $ + * $Id: xine_decoder.c,v 1.16 2003/11/26 23:44:10 f1rmb Exp $ * * xine decoder plugin using libtheora * @@ -229,8 +229,7 @@ static void theora_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { ret=theora_decode_packetin( &this->t_state, &this->op); if ( ret!=0) { - if (this->stream->xine->verbosity >= XINE_VERBOSITY_LOG) - printf ("libtheora:Received an bad packet\n"); + xprintf(this->stream, XINE_VERBOSITY_LOG, "libtheora:Received an bad packet\n"); } else if (!this->skipframes) { theora_decode_YUVout(&this->t_state,&yuv); -- cgit v1.2.3