[rygel] core: Set DLNA profile and mime type for Thumbnail
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Set DLNA profile and mime type for Thumbnail
- Date: Sat, 7 May 2011 15:58:26 +0000 (UTC)
commit 01d614bff17d7b9471fc442704eda672611b7a53
Author: Jens Georg <mail jensge org>
Date: Sat May 7 17:57:17 2011 +0200
core: Set DLNA profile and mime type for Thumbnail
src/rygel/rygel-thumbnailer.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-thumbnailer.vala b/src/rygel/rygel-thumbnailer.vala
index a29f04f..dc909c0 100644
--- a/src/rygel/rygel-thumbnailer.vala
+++ b/src/rygel/rygel-thumbnailer.vala
@@ -106,7 +106,9 @@ internal class Rygel.Thumbnailer : GLib.Object {
(_("No thumbnail available"));
}
- thumbnail = new Thumbnail ();
+ thumbnail = new Thumbnail (this.template.mime_type,
+ this.template.dlna_profile,
+ this.template.file_extension);
thumbnail.width = this.template.width;
thumbnail.height = this.template.height;
thumbnail.depth = this.template.depth;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]