# HG changeset patch # User Eugene Zagidullin # Date 1196902499 -10800 # Node ID 2a13a038987c33b70beee7813c09ae0c88e90e60 # Parent d0ede319f7b94c8e41c2e85bfd16922e1783e42c vorbis: bitrate field added diff -r d0ede319f7b9 -r 2a13a038987c src/vorbis/vcupdate.c --- a/src/vorbis/vcupdate.c Thu Dec 06 03:41:16 2007 +0300 +++ b/src/vorbis/vcupdate.c Thu Dec 06 03:54:59 2007 +0300 @@ -18,8 +18,6 @@ * */ -#define AUD_DEBUG - #include "config.h" #include diff -r d0ede319f7b9 -r 2a13a038987c src/vorbis/vorbis.c --- a/src/vorbis/vorbis.c Thu Dec 06 03:41:16 2007 +0300 +++ b/src/vorbis/vorbis.c Thu Dec 06 03:54:59 2007 +0300 @@ -631,6 +631,8 @@ /* associate with tuple */ aud_tuple_associate_int(tuple, FIELD_LENGTH, NULL, length); + /* maybe, it would be better to display nominal bitrate (like in main win), not average? --eugene */ + aud_tuple_associate_int(tuple, FIELD_BITRATE, NULL, ov_bitrate(vorbisfile, -1)/1000); if ((comment = ov_comment(vorbisfile, -1))) { gchar *tmps;