Mercurial > audlegacy-plugins
comparison src/madplug/replaygain.c @ 799:d200de50a1fc trunk
[svn] - convert filename into utf8 in debug messages.
author | yaz |
---|---|
date | Fri, 09 Mar 2007 22:47:38 -0800 |
parents | 5ddfe9eac8ee |
children | ddb79127d9cf |
comparison
equal
deleted
inserted
replaced
798:a1d56f2c8bb1 | 799:d200de50a1fc |
---|---|
252 g_message("replaygain: not found"); | 252 g_message("replaygain: not found"); |
253 #endif | 253 #endif |
254 } | 254 } |
255 #ifdef DEBUG | 255 #ifdef DEBUG |
256 if (res == 0) { // got APE tags, show the result | 256 if (res == 0) { // got APE tags, show the result |
257 gchar *tmp = g_filename_to_utf8(file_info->filename, -1, NULL, NULL, NULL); | |
257 g_message("RG album scale= %g, RG track scale = %g, in %s", | 258 g_message("RG album scale= %g, RG track scale = %g, in %s", |
258 file_info->replaygain_album_scale, | 259 file_info->replaygain_album_scale, |
259 file_info->replaygain_track_scale, file_info->filename); | 260 file_info->replaygain_track_scale, tmp); |
261 g_free(tmp); | |
260 } | 262 } |
261 #endif | 263 #endif |
262 | 264 |
263 if (file_info->replaygain_album_scale != -1 | 265 if (file_info->replaygain_album_scale != -1 |
264 || file_info->replaygain_track_scale != -1) | 266 || file_info->replaygain_track_scale != -1) |