totem r5802 - in trunk: . src/backend
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5802 - in trunk: . src/backend
- Date: Thu, 13 Nov 2008 16:45:17 +0000 (UTC)
Author: hadess
Date: Thu Nov 13 16:45:17 2008
New Revision: 5802
URL: http://svn.gnome.org/viewvc/totem?rev=5802&view=rev
Log:
2008-11-13 Bastien Nocera <hadess hadess net>
* src/backend/bacon-video-widget-gst-0.10.c
(bvw_handle_application_message): Fix window
resizing to bigger than the screen when playing large video
files and "Resize window when new video is loaded" is selected
(Closes: #416610)
Modified:
trunk/ChangeLog
trunk/src/backend/bacon-video-widget-gst-0.10.c
Modified: trunk/src/backend/bacon-video-widget-gst-0.10.c
==============================================================================
--- trunk/src/backend/bacon-video-widget-gst-0.10.c (original)
+++ trunk/src/backend/bacon-video-widget-gst-0.10.c Thu Nov 13 16:45:17 2008
@@ -1175,11 +1175,7 @@
if (bvw->priv->auto_resize
&& !bvw->priv->fullscreen_mode
&& !bvw->priv->window_resized) {
- gint w, h;
-
- shrink_toplevel (bvw);
- get_media_size (bvw, &w, &h);
- totem_widget_set_preferred_size (GTK_WIDGET (bvw), w, h);
+ bacon_video_widget_set_scale_ratio (bvw, 1);
} else {
bacon_video_widget_size_allocate (GTK_WIDGET (bvw),
>K_WIDGET (bvw)->allocation);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]