[longomatch/timeline: 1/2] Call gdk_window_show for the video window in the expose callback
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/timeline: 1/2] Call gdk_window_show for the video window in the expose callback
- Date: Thu, 3 Feb 2011 01:26:27 +0000 (UTC)
commit 6b8f01e800ff7c9e9beb0eb8d3df498e1d824076
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Jan 31 23:45:05 2011 +0100
Call gdk_window_show for the video window in the expose callback
video_window might not be available when we first called show()
on the widget, so we must make sure that this widget is visible
on the expose callback
libcesarplayer/src/gst-camera-capturer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libcesarplayer/src/gst-camera-capturer.c b/libcesarplayer/src/gst-camera-capturer.c
index 9502cdb..d0f787e 100644
--- a/libcesarplayer/src/gst-camera-capturer.c
+++ b/libcesarplayer/src/gst-camera-capturer.c
@@ -650,6 +650,7 @@ gst_camera_capturer_expose_event (GtkWidget * widget, GdkEventExpose * event)
g_mutex_unlock (gcc->priv->lock);
if (xoverlay != NULL && GST_IS_X_OVERLAY (xoverlay)) {
+ gdk_window_show (gcc->priv->video_window);
#ifdef WIN32
gst_x_overlay_set_xwindow_id (gcc->priv->xoverlay,
GDK_WINDOW_HWND (gcc->priv->video_window));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]