[longomatch] libcesarplayer: fix weird bug in gtk making video window black
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] libcesarplayer: fix weird bug in gtk making video window black
- Date: Mon, 24 Sep 2012 17:40:55 +0000 (UTC)
commit ba3af15ed6094b1fefcd099b212c8b8d67565cd6
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Sep 24 19:39:59 2012 +0200
libcesarplayer: fix weird bug in gtk making video window black
libcesarplayer/bacon-video-widget-gst-0.10.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/bacon-video-widget-gst-0.10.c b/libcesarplayer/bacon-video-widget-gst-0.10.c
index e8bbe24..d6f5459 100644
--- a/libcesarplayer/bacon-video-widget-gst-0.10.c
+++ b/libcesarplayer/bacon-video-widget-gst-0.10.c
@@ -772,8 +772,12 @@ bacon_video_widget_expose_event (GtkWidget * widget, GdkEventExpose * event)
}
} else {
/* no logo, pass the expose to gst */
- if (xoverlay != NULL && GST_IS_X_OVERLAY (xoverlay))
+ if (xoverlay != NULL && GST_IS_X_OVERLAY (xoverlay)){
gst_x_overlay_expose (xoverlay);
+#ifdef OSTYPE_WINDOWS
+ bacon_video_widget_show (widget);
+#endif
+ }
else {
/* No xoverlay to expose yet */
gdk_window_clear_area (win,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]