Commit 814ec3c6 authored by Michael Smith's avatar Michael Smith

Changes to follow spec - "unset" means <= 0, not < 0

svn path=/trunk/vorbis-tools/; revision=3671
parent 03783c30
......@@ -183,19 +183,19 @@ static void vorbis_process(stream_processor *stream, ogg_page *page )
info(_("Channels: %d\n"), inf->vi.channels);
info(_("Rate: %ld\n\n"), inf->vi.rate);
if(inf->vi.bitrate_nominal >= 0)
if(inf->vi.bitrate_nominal > 0)
info(_("Nominal bitrate: %f kb/s\n"),
(double)inf->vi.bitrate_nominal / 1000.0);
else
info(_("Nominal bitrate not set\n"));
if(inf->vi.bitrate_upper >= 0)
if(inf->vi.bitrate_upper > 0)
info(_("Upper bitrate: %f kb/s\n"),
(double)inf->vi.bitrate_upper / 1000.0);
else
info(_("Upper bitrate not set\n"));
if(inf->vi.bitrate_lower >= 0)
if(inf->vi.bitrate_lower > 0)
info(_("Lower bitrate: %f kb/s\n"),
(double)inf->vi.bitrate_lower / 1000.0);
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment