Mercurial > audlegacy-plugins
changeset 1343:36364adc29cd
flacng: Update plugin for new threading model.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Mon, 23 Jul 2007 17:20:50 -0500 |
parents | ebded68de2dd |
children | d3fb6dfcd2f8 |
files | src/flacng/plugin.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/flacng/plugin.c Mon Jul 23 17:19:31 2007 -0500 +++ b/src/flacng/plugin.c Mon Jul 23 17:20:50 2007 -0500 @@ -600,7 +600,8 @@ flac_ip.set_info(get_title(input->filename, main_info), l, -1, main_info->stream.samplerate, main_info->stream.channels); - thread = g_thread_create(flac_play_loop, input, TRUE, NULL); + thread = g_thread_self(); + flac_play_loop(input); _LEAVE; }