diff options
-rw-r--r-- | libempathy-gtk/empathy-video-widget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-video-widget.c b/libempathy-gtk/empathy-video-widget.c index b32e81aef..568a54901 100644 --- a/libempathy-gtk/empathy-video-widget.c +++ b/libempathy-gtk/empathy-video-widget.c @@ -339,6 +339,8 @@ empathy_video_widget_element_added_cb (FsElementAddedNotifier *notifier, if (priv->overlay == NULL && GST_IS_X_OVERLAY (element)) { priv->overlay = element; + g_object_add_weak_pointer (G_OBJECT (element), + (gpointer) &priv->overlay); empathy_video_widget_element_set_sink_properties_unlocked (self); gst_x_overlay_expose (GST_X_OVERLAY (priv->overlay)); } |