Mercurial > audlegacy-plugins
diff src/madplug/decoder.c @ 2340:47d7a45b26a0
fixed ${bitrate} in title string
| author | Eugene Zagidullin <e.asphyx@gmail.com> |
|---|---|
| date | Wed, 30 Jan 2008 05:04:15 +0300 |
| parents | 2421c87fb855 |
| children | 59addab003d7 |
line wrap: on
line diff
--- a/src/madplug/decoder.c Fri Jan 25 11:34:10 2008 +0100 +++ b/src/madplug/decoder.c Wed Jan 30 05:04:15 2008 +0300 @@ -386,6 +386,8 @@ else if (info->vbr && xing_bitrate == 0 && bitrate_frames != 0) { info->bitrate = accum_bitrate / bitrate_frames; } + + aud_tuple_associate_int(info->tuple, FIELD_BITRATE, NULL, info->bitrate / 1000); mad_frame_finish(&frame); mad_header_finish(&header);
