changeset 1352:ab66f3ee7a11

vorbis: new threading model
author William Pitcock <nenolod@atheme-project.org>
date Mon, 23 Jul 2007 17:52:11 -0500
parents 833a7d4ea063
children b5705eea23d9
files src/vorbis/vorbis.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/vorbis/vorbis.c	Mon Jul 23 17:49:40 2007 -0500
+++ b/src/vorbis/vorbis.c	Mon Jul 23 17:52:11 2007 -0500
@@ -583,7 +583,8 @@
     playback->eof = 0;
     playback->error = FALSE;
 
-    thread = g_thread_create(vorbis_play_loop, playback, TRUE, NULL);
+    thread = g_thread_self();
+    vorbis_play_loop(playback);
 }
 
 static void