diff src/alac/plugin.c @ 1473:eb0913bf54c3

use get_gentitle_format() to get format string so that presets and custom string can coexist.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sun, 12 Aug 2007 00:06:35 +0900
parents 195b5657303e
children 3a252050736c
line wrap: on
line diff
--- a/src/alac/plugin.c	Sat Aug 11 17:57:19 2007 +0300
+++ b/src/alac/plugin.c	Sun Aug 12 00:06:35 2007 +0900
@@ -336,7 +336,7 @@
 
     /* Get the titlestring ready. */
     ti = build_tuple_from_demux(&demux_res, (char *) args);
-    title = tuple_formatter_process_string(ti, cfg.gentitle_format);
+    title = tuple_formatter_process_string(ti, get_gentitle_format());
 
     /* initialise the sound converter */
     demux_res.alac = create_alac(demux_res.sample_size, demux_res.num_channels);