gst-plugins-ugly: lamemp3enc: really report bitrate rather kbitrate

Mark Nauwelaerts mnauw at kemper.freedesktop.org
Mon Sep 26 06:22:00 PDT 2011


Module: gst-plugins-ugly
Branch: master
Commit: 19c6d5e45b2230f4d04b7ff182b83d4b5ea84146
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=19c6d5e45b2230f4d04b7ff182b83d4b5ea84146

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Mon Sep 26 14:44:23 2011 +0200

lamemp3enc: really report bitrate rather kbitrate

---

 ext/lame/gstlamemp3enc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/lame/gstlamemp3enc.c b/ext/lame/gstlamemp3enc.c
index 6b1a0d1..f23e8d5 100644
--- a/ext/lame/gstlamemp3enc.c
+++ b/ext/lame/gstlamemp3enc.c
@@ -678,7 +678,7 @@ gst_lamemp3enc_setup (GstLameMP3Enc * lame, GstTagList ** tags)
       CHECK_ERROR (lame_set_VBR_mean_bitrate_kbps (lame->lgf, lame->bitrate));
     }
     gst_tag_list_add (*tags, GST_TAG_MERGE_REPLACE, GST_TAG_BITRATE,
-        lame->bitrate, NULL);
+        lame->bitrate * 1000, NULL);
   }
 
   if (lame->encoding_engine_quality == LAMEMP3ENC_ENCODING_ENGINE_QUALITY_FAST)



More information about the gstreamer-commits mailing list