[rygel] core: fix #588034



commit cfdc2b8fdaf43ab69ce353dbf4c41a90288956f3
Author: Jens Georg <mail jensge org>
Date:   Wed Jul 8 12:25:30 2009 +0200

    core: fix #588034

 src/rygel/rygel-media-db.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-media-db.vala b/src/rygel/rygel-media-db.vala
index e3b3b96..752fe6b 100644
--- a/src/rygel/rygel-media-db.vala
+++ b/src/rygel/rygel-media-db.vala
@@ -640,7 +640,7 @@ public class Rygel.MediaDB : Object {
         item.album = statement.column_text (8);
         item.date = statement.column_text (9);
         item.mime_type = statement.column_text (3);
-        item.duration = (long)statement.column_text (16);
+        item.duration = (long)statement.column_int64 (16);
 
         item.size = (long)statement.column_int64 (2);
         item.bitrate = statement.column_int (10);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]