[totem] Make the auto resize half-scale if available



commit 961bb8f4e9f3e953f767b8dd2db8bb6d474bfeef
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Apr 27 17:54:31 2010 +0100

    Make the auto resize half-scale if available
    
    Or 2x the size if it fits on the screen.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=585598

 src/backend/bacon-video-widget-gst-0.10.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 692da77..068a005 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -1362,7 +1362,7 @@ bvw_handle_application_message (BaconVideoWidget *bvw, GstMessage *msg)
     if (bvw->priv->auto_resize
        	&& !bvw->priv->fullscreen_mode
 	&& !bvw->priv->window_resized) {
-      bacon_video_widget_set_scale_ratio (bvw, 1);
+      bacon_video_widget_set_scale_ratio (bvw, 0.0);
     } else {
       gtk_widget_get_allocation (GTK_WIDGET (bvw), &allocation);
       bacon_video_widget_size_allocate (GTK_WIDGET (bvw),



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