diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-03-24 19:56:46 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-03-24 19:56:46 +0000 |
commit | 04879d7468156cff56c149e81767eb1eaed74da7 (patch) | |
tree | af3e7d06810b4fa0eea2a4e7907844e9e922d3be | |
parent | de03478c2520239a016f189827d4ca162a1ee855 (diff) | |
download | xine-lib-04879d7468156cff56c149e81767eb1eaed74da7.tar.gz xine-lib-04879d7468156cff56c149e81767eb1eaed74da7.tar.bz2 |
Report audio vpts/clock errors. (Reinhard Nissl)
CVS patchset: 7945
CVS date: 2006/03/24 19:56:46
-rw-r--r-- | src/xine-engine/audio_out.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c index e42f1cb90..e394a47c0 100644 --- a/src/xine-engine/audio_out.c +++ b/src/xine-engine/audio_out.c @@ -17,7 +17,7 @@ * along with self program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.c,v 1.198 2006/03/07 08:03:22 tmattern Exp $ + * $Id: audio_out.c,v 1.199 2006/03/24 19:56:46 dsalt Exp $ * * 22-8-2001 James imported some useful AC3 sections from the previous alsa driver. * (c) 2001 Andy Lo A Foe <andy@alsaplayer.org> @@ -1034,6 +1034,11 @@ static void *ao_loop (void *this_gen) { } } + 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"); |