totem r5361 - in branches/gnome-2-22: . src/backend



Author: tpm
Date: Sun Apr 13 12:55:13 2008
New Revision: 5361
URL: http://svn.gnome.org/viewvc/totem?rev=5361&view=rev

Log:
	* src/backend/bacon-video-widget-gst-0.10.c:
	  (bvw_update_interface_implementations):
	  Don't unref NULL elements though (fixes #524807 some more).



Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/backend/bacon-video-widget-gst-0.10.c

Modified: branches/gnome-2-22/src/backend/bacon-video-widget-gst-0.10.c
==============================================================================
--- branches/gnome-2-22/src/backend/bacon-video-widget-gst-0.10.c	(original)
+++ branches/gnome-2-22/src/backend/bacon-video-widget-gst-0.10.c	Sun Apr 13 12:55:13 2008
@@ -4880,7 +4880,8 @@
     bvw->priv->xoverlay = GST_X_OVERLAY (element);
   } else {
     GST_DEBUG ("No xoverlay found");
-    gst_object_unref (element);
+    if (element)
+      gst_object_unref (element);
     bvw->priv->xoverlay = NULL;
   }
 



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