[rygel/rygel-0-18] core: Recommended png depth value 24 instead of 32



commit 1696a5d371ee087a62b271938227a975d8bb1604
Author: Parthiban Balasubramanian <p balasubramanian cablelabs com>
Date:   Wed Jul 3 12:43:54 2013 -0600

    core: Recommended png depth value 24 instead of 32
    
    The depth of a PNG is defined excluding the alpha channel so we really have
    3x8 bits here.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=705084

 src/librygel-core/rygel-plugin.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-core/rygel-plugin.vala b/src/librygel-core/rygel-plugin.vala
index b97abb5..cee238b 100644
--- a/src/librygel-core/rygel-plugin.vala
+++ b/src/librygel-core/rygel-plugin.vala
@@ -86,7 +86,7 @@ public class Rygel.Plugin : GUPnP.ResourceFactory {
     private static const string ICON_PNG_MIME = "image/png";
     private static const string ICON_JPG_MIME = "image/jpeg";
 
-    private static const int ICON_PNG_DEPTH = 32;
+    private static const int ICON_PNG_DEPTH = 24;
     private static const int ICON_JPG_DEPTH = 24;
 
     private static const int ICON_BIG_WIDTH = 120;


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