[xiph-cvs] cvs commit: ices/src im_sun.c
Michael Smith
msmith at xiph.org
Sun Sep 23 03:00:22 PDT 2001
msmith 01/09/23 03:00:21
Modified: src im_sun.c
Log:
Forgot to put code to spawn new metadata thread in im_sun.c
Some of this structure needs a bit (or a lot) of rethinking.
Revision Changes Path
1.2 +6 -2 ices/src/im_sun.c
Index: im_sun.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/im_sun.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- im_sun.c 2001/09/10 02:30:53 1.1
+++ im_sun.c 2001/09/23 10:00:21 1.2
@@ -227,8 +227,12 @@
LOG_INFO3("Opened audio device %s at %d channel(s), %d Hz",
device, channels, sample_rate);
- if(use_metadata) {
- thread_create("im_sun-metadata", metadata_thread, mod, 1);
+ if(use_metadata)
+ {
+ if(ices_config->metadata_filename)
+ thread_create("im_sun-metadata", metadata_thread_signal, mod, 1);
+ else
+ thread_create("im_sun-metadata", metadata_thread_stdin, mod, 1);
LOG_INFO0("Started metadata update thread");
}
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list