totem r5330 - in branches/gnome-2-22: . src/backend
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5330 - in branches/gnome-2-22: . src/backend
- Date: Thu, 3 Apr 2008 14:03:55 +0100 (BST)
Author: hadess
Date: Thu Apr 3 14:03:55 2008
New Revision: 5330
URL: http://svn.gnome.org/viewvc/totem?rev=5330&view=rev
Log:
2008-04-03 Bastien Nocera <hadess hadess net>
* src/backend/bacon-video-widget-gst-0.10.c
(bvw_update_interface_implementations):
Fix unreffing a non-reffed element, fixes warnings
when ximagesink is forced (Closes: #524807)
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 Thu Apr 3 14:03:55 2008
@@ -4872,7 +4872,7 @@
element = gst_bin_get_by_interface (GST_BIN (video_sink),
GST_TYPE_X_OVERLAY);
} else {
- element = video_sink;
+ element = gst_object_ref(video_sink);
}
if (GST_IS_X_OVERLAY (element)) {
@@ -4880,6 +4880,7 @@
bvw->priv->xoverlay = GST_X_OVERLAY (element);
} else {
GST_DEBUG ("No xoverlay found");
+ gst_object_unref (element);
bvw->priv->xoverlay = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]