swfdec-gnome r221 - in trunk: . thumbnailer



Author: otte
Date: Wed Jul 30 11:44:10 2008
New Revision: 221
URL: http://svn.gnome.org/viewvc/swfdec-gnome?rev=221&view=rev

Log:
update to Swfdec 0.7.4


Modified:
   trunk/configure.ac
   trunk/thumbnailer/swfdec-thumbnailer.c

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Wed Jul 30 11:44:10 2008
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.58])
-AC_INIT(swfdec-gnome, [2.22.3], [https://bugzilla.gnome.org/enter_bug.cgi?product=swfdec-gnome] )
+AC_INIT(swfdec-gnome, [2.23.1], [https://bugzilla.gnome.org/enter_bug.cgi?product=swfdec-gnome] )
 
 AM_INIT_AUTOMAKE(1.6)
 AC_CONFIG_SRCDIR([config.h.in])
@@ -42,9 +42,9 @@
 
 dnl Required versions
 
-SWFDEC_MAJORMINOR=0.6
+SWFDEC_MAJORMINOR=0.7
 AC_SUBST(SWFDEC_MAJORMINOR)
-SWFDEC_REQUIRED=0.6.0
+SWFDEC_REQUIRED=0.7.4
 
 GTK_REQUIRED=2.12.0
 

Modified: trunk/thumbnailer/swfdec-thumbnailer.c
==============================================================================
--- trunk/thumbnailer/swfdec-thumbnailer.c	(original)
+++ trunk/thumbnailer/swfdec-thumbnailer.c	Wed Jul 30 11:44:10 2008
@@ -1,7 +1,7 @@
 /* Swfdec Thumbnailer
  * Copyright (C) 2003, 2004 Bastien Nocera <hadess hadess net>
  *               2007 Pekka Lampila <pekka lampila iki fi>
- *               2007 Benjamin Otte <otte gnome org>
+ *               2007-2008 Benjamin Otte <otte gnome org>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -186,7 +186,9 @@
   h = MIN (height, scaled_size);
 
   // render the image
-  swfdec_player_render (player, cr, x, y, w, h);
+  cairo_rectangle (cr, x, y, w, h);
+  cairo_clip (cr);
+  swfdec_player_render (player, cr);
 
   for (try = 0; try < 10 && time_left; try++)
   {
@@ -194,7 +196,7 @@
 	  (size - h * scale) / 2, w * scale, h * scale))
 	break;
     time_left = advance (player, timer, 1000);
-    swfdec_player_render (player, cr, x, y, w, h);
+    swfdec_player_render (player, cr);
   }
 
   cairo_destroy (cr);



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