[ekiga/ds-clutter] CallWindow: Signal the GmVideoWidget that the streams are closed.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-clutter] CallWindow: Signal the GmVideoWidget that the streams are closed.
- Date: Sun, 5 Jan 2014 17:13:20 +0000 (UTC)
commit 301562b72b1ec7a9fee7f51b386cb4aa23bd7325
Author: Damien Sandras <dsandras beip be>
Date: Sun Jan 5 17:36:11 2014 +0100
CallWindow: Signal the GmVideoWidget that the streams are closed.
lib/engine/gui/gtk-frontend/call-window.cpp | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/call-window.cpp b/lib/engine/gui/gtk-frontend/call-window.cpp
index 3748246..5f3e7da 100644
--- a/lib/engine/gui/gtk-frontend/call-window.cpp
+++ b/lib/engine/gui/gtk-frontend/call-window.cpp
@@ -593,15 +593,17 @@ on_videooutput_device_opened_cb (Ekiga::VideoOutputManager & /* manager */,
}
static void
-on_videooutput_device_closed_cb (Ekiga::VideoOutputManager & /* manager */, gpointer self)
+on_videooutput_device_closed_cb (Ekiga::VideoOutputManager & /* manager */,
+ gpointer self)
{
g_return_if_fail (self);
EkigaCallWindow *cw = EKIGA_CALL_WINDOW (self);
- //gm_video_widget_set_stream_state (GM_VIDEO_WIDGET (cw->priv->video_widget),
- // t, STREAM_STATE_PLAYING);
-
- // FIXME
+ for (int i = 0 ; i < MAX_STREAM ; i++) {
+ GM_STREAM_TYPE type = (GM_STREAM_TYPE) i;
+ gm_video_widget_set_stream_state (GM_VIDEO_WIDGET (cw->priv->video_widget),
+ type, STREAM_STATE_STOPPED);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]