totem r5809 - in trunk: . src/backend
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5809 - in trunk: . src/backend
- Date: Fri, 28 Nov 2008 13:02:49 +0000 (UTC)
Author: hadess
Date: Fri Nov 28 13:02:49 2008
New Revision: 5809
URL: http://svn.gnome.org/viewvc/totem?rev=5809&view=rev
Log:
2008-11-28 Bastien Nocera <hadess hadess net>
* src/backend/bacon-video-widget-gst-0.10.c
(bacon_video_widget_set_scale_ratio): Fix warnings
in the thumbnailer, indexer and sound preview, as we don't
have any video windows
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 Fri Nov 28 13:02:49 2008
@@ -3623,6 +3623,9 @@
GST_DEBUG ("ratio = %.2f", ratio);
+ if (bvw->priv->video_window == NULL)
+ return;
+
if (!bvw->priv->media_has_video && bvw->priv->show_vfx) {
get_visualization_size (bvw, &w, &h, NULL, NULL);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]