[totem] video-thumbnailer: Change default scaling quality



commit c382d29949275ae4780cdebc223d38d053917753
Author: Chris Lord <chris linux intel com>
Date:   Mon Jan 17 16:34:32 2011 +0000

    video-thumbnailer: Change default scaling quality
    
    Change the scaling interpolation method from being conditionally tiles
    or nearest to always being bilinear. This should look better for the
    majority of cases.

 src/totem-video-thumbnailer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c
index 3234f0e..8e497f1 100644
--- a/src/totem-video-thumbnailer.c
+++ b/src/totem-video-thumbnailer.c
@@ -209,7 +209,7 @@ add_holes_to_pixbuf_large (GdkPixbuf *pixbuf, int size)
 
 	gdk_pixbuf_scale (pixbuf, small, lw, 0,
 			d_width, d_height,
-			lw, 0, ratio, ratio, GDK_INTERP_NEAREST);
+			lw, 0, ratio, ratio, GDK_INTERP_BILINEAR);
 
 	/* Left side holes */
 	for (i = 0; i < canvas_h; i += lh)
@@ -293,7 +293,7 @@ scale_pixbuf (GdkPixbuf *pixbuf, int size, gboolean is_still)
 			d_width = size * width / height;
 		}
 
-		small = gdk_pixbuf_scale_simple (pixbuf, d_width, d_height, GDK_INTERP_TILES);
+		small = gdk_pixbuf_scale_simple (pixbuf, d_width, d_height, GDK_INTERP_BILINEAR);
 
 		if (is_still == FALSE) {
 			result = add_holes_to_pixbuf_small (small, d_width, d_height);



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