[haiku-commits] Re: haiku: hrev44261 - in src: add-ons/media/plugins/ffmpeg apps/mediaplayer

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 25 Jun 2012 20:11:39 +0200

On 25.06.2012 02:55, stpere@xxxxxxxxx wrote:
+++ b/src/apps/mediaplayer/InfoWin.cpp
@@ -405,6 +405,16 @@ printf("InfoWin::Update(0x%08lx)\n", which);
                        rateString.ReplaceFirst("%d", "??");
                        s << rateString;
                }
+               if (format.type == B_MEDIA_ENCODED_AUDIO) {
+                       float br = format.u.encoded_audio.bit_rate;

While the code might be full of it, please don't use abbreviations like this. Use bitRate instead.

Bye,
   Axel.

Other related posts: