changeset 1347:76eee61ed25a

alac: new threading model
author William Pitcock <nenolod@atheme-project.org>
date Mon, 23 Jul 2007 17:43:21 -0500
parents 7c5d22f753aa
children d427f353e326
files src/alac/plugin.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/alac/plugin.c	Mon Jul 23 17:40:16 2007 -0500
+++ b/src/alac/plugin.c	Mon Jul 23 17:43:21 2007 -0500
@@ -179,7 +179,8 @@
     char *filename = data->filename;
     going = 1;
     playback = data;
-    playback_thread = g_thread_create(decode_thread, filename, TRUE, NULL);
+    playback_thread = g_thread_self();
+    decode_thread(filename);
 }
 
 static void stop(InputPlayback * data)