changeset 1417:59f2c23810bc

Fix hang problem on EOF.
author William Pitcock <nenolod@atheme-project.org>
date Fri, 10 Aug 2007 03:38:19 -0500
parents e11d83ce8d16
children 08a6320f7a2b
files src/vorbis/vorbis.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/vorbis/vorbis.c	Wed Aug 08 20:25:13 2007 +0200
+++ b/src/vorbis/vorbis.c	Fri Aug 10 03:38:19 2007 -0500
@@ -364,6 +364,7 @@
      */
     if (bytes <= 0 && bytes != OV_HOLE) {
         g_mutex_unlock(vf_mutex);
+        playback->playing = 0;
         playback->output->buffer_free();
         playback->output->buffer_free();
         playback->eof = TRUE;