From: Arun Raghavan Date: Fri, 11 Jun 2010 08:57:25 +0000 (+0530) Subject: media-export: Duration is a guint64 X-Git-Tag: RYGEL_0_7_3~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a9243ad7c46b7ee19bc0775a3af15a3008f54f9;p=profile%2Fivi%2Frygel.git media-export: Duration is a guint64 create_from_taglist() was using int64 for duration which causes subsequent uses as a guint64 (which is what Gst.ClockTime is) to fail. --- diff --git a/src/plugins/media-export/rygel-media-export-item.vala b/src/plugins/media-export/rygel-media-export-item.vala index 017cdd3..8c341ec 100644 --- a/src/plugins/media-export/rygel-media-export-item.vala +++ b/src/plugins/media-export/rygel-media-export-item.vala @@ -52,9 +52,9 @@ public class Rygel.MediaExport.MediaExportItem : Rygel.MediaItem { // if it has width and height and a duration, assume // it is a video (to capture the MPEG TS without audio // case) - int64 duration; - if (tag_list.get_int64 (TAG_DURATION, - out duration)) { + uint64 duration; + if (tag_list.get_uint64 (TAG_DURATION, + out duration)) { class_guessed = Rygel.MediaItem.VIDEO_CLASS; } else { string content_type;