aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-video-widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-video-widget.c')
-rw-r--r--libempathy-gtk/empathy-video-widget.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-video-widget.c b/libempathy-gtk/empathy-video-widget.c
index 605039f3f..5b76257f4 100644
--- a/libempathy-gtk/empathy-video-widget.c
+++ b/libempathy-gtk/empathy-video-widget.c
@@ -380,7 +380,11 @@ empathy_video_widget_expose_event (GtkWidget *widget, GdkEventExpose *event)
return TRUE;
if (priv->overlay == NULL)
- return TRUE;
+ {
+ gdk_window_clear_area (widget->window, 0, 0,
+ widget->allocation.width, widget->allocation.height);
+ return TRUE;
+ }
gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (priv->overlay),
GDK_WINDOW_XID (widget->window));