From: Darren S. <ds...@us...> - 2006-03-24 19:56:51
|
Update of /cvsroot/xine/xine-lib/src/xine-engine In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11219/src/xine-engine Modified Files: audio_out.c Log Message: Report audio vpts/clock errors. (Reinhard Nissl) Index: audio_out.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/audio_out.c,v retrieving revision 1.198 retrieving revision 1.199 diff -u -r1.198 -r1.199 --- audio_out.c 7 Mar 2006 08:03:22 -0000 1.198 +++ audio_out.c 24 Mar 2006 19:56:46 -0000 1.199 @@ -1034,6 +1034,11 @@ } } + if ((in_buf->vpts - cur_time) > 2 * 90000) + xprintf (this->xine, XINE_VERBOSITY_DEBUG, + "audio_out: vpts/clock error, in_buf->vpts=%" PRId64 " cur_time=%" PRId64 "\n", + next_frame_vpts, vpts); + lprintf ("loop:pause: I feel sleepy (%d buffers).\n", this->out_fifo->num_buffers); xine_usec_sleep (10000); lprintf ("loop:pause: I wake up.\n"); |