[totem/gnome-2-32] Make the auto resize half-scale if available
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-2-32] Make the auto resize half-scale if available
- Date: Wed, 4 Aug 2010 15:29:35 +0000 (UTC)
commit 454a2c53f34159d2a73fc1192a740369a6f19c2c
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 8b4c14c..16a5aa1 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -1376,7 +1376,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]