rem: pixbuf = gdk_pixbuf_new_from_data (pixels, GDK_COLORSPACE_RGB, FALSE, 8, width, height, 3 * width, (GdkPixbufDestroyNotify) g_free, NULL);
add: GdkPixbuf *tmp;  tmp = gdk_pixbuf_scale_simple (pixbuf, (int) (width * ratio / 10000), height, GDK_INTERP_BILINEAR); gdk_pixbuf_unref (pixbuf);  return tmp;
context: gtk_xine_get_current_frame (GtkXine *gtx){	guchar *pixels;	gint width, height;	GdkPixbuf *pixbuf = NULL;	g_return_val_if_fail (gtx != NULL, NULL);	g_return_val_if_fail (GTK_IS_XINE (gtx), NULL);	g_return_val_if_fail (gtx->priv->xine != NULL, NULL);	pixels = gtk_xine_get_current_frame_rgb (gtx, &width, &height);	if (pixels != NULL)	{		pixbuf = gdk_pixbuf_new_from_data (pixels,				GDK_COLORSPACE_RGB, FALSE,				8, width, height, 3 * width,				(GdkPixbufDestroyNotify) g_free, NULL);	}	return pixbuf;}