[rygel] media-export: bitrate is byte/s
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] media-export: bitrate is byte/s
- Date: Tue, 15 Sep 2009 15:00:28 +0000 (UTC)
commit b62e1a663b84bf8a30648b726bcdfba7fb527874
Author: Jens Georg <mail jensge org>
Date: Fri Sep 11 23:37:06 2009 +0200
media-export: bitrate is byte/s
.../media-export/rygel-media-export-item.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-item.vala b/src/plugins/media-export/rygel-media-export-item.vala
index ededecc..3ba5947 100644
--- a/src/plugins/media-export/rygel-media-export-item.vala
+++ b/src/plugins/media-export/rygel-media-export-item.vala
@@ -89,7 +89,7 @@ public class Rygel.MediaExportItem : Rygel.MediaItem {
tag_list.get_uint (TAG_TRACK_NUMBER, out tmp);
this.track_number = (int)tmp;
tag_list.get_uint (TAG_BITRATE, out tmp);
- this.bitrate = (int)tmp;
+ this.bitrate = (int)tmp / 8;
tag_list.get_int (MetadataExtractor.TAG_RYGEL_RATE, out this.sample_freq);
GLib.Date? date;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]