aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-12 23:54:56 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-12 23:54:56 +0800
commitddecbcd81f0377608de94dcdf7e3a797ae0022fd (patch)
treef1d4a54f5287e703fedc82d2827f986c9352302e /src
parent33687760c2eb1d9ddf41092c88aef8ba65108df6 (diff)
downloadgsoc2013-empathy-ddecbcd81f0377608de94dcdf7e3a797ae0022fd.tar
gsoc2013-empathy-ddecbcd81f0377608de94dcdf7e3a797ae0022fd.tar.gz
gsoc2013-empathy-ddecbcd81f0377608de94dcdf7e3a797ae0022fd.tar.bz2
gsoc2013-empathy-ddecbcd81f0377608de94dcdf7e3a797ae0022fd.tar.lz
gsoc2013-empathy-ddecbcd81f0377608de94dcdf7e3a797ae0022fd.tar.xz
gsoc2013-empathy-ddecbcd81f0377608de94dcdf7e3a797ae0022fd.tar.zst
gsoc2013-empathy-ddecbcd81f0377608de94dcdf7e3a797ae0022fd.zip
reset codecs when call is disconnected
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 4856821ca..7aa8f6dbf 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1756,6 +1756,17 @@ empathy_call_window_reset_pipeline (EmpathyCallWindow *self)
}
}
+static void
+reset_details_pane (EmpathyCallWindow *self)
+{
+ EmpathyCallWindowPriv *priv = GET_PRIV (self);
+
+ gtk_label_set_text (GTK_LABEL (priv->vcodec_encoding_label), _("Unknown"));
+ gtk_label_set_text (GTK_LABEL (priv->acodec_encoding_label), _("Unknown"));
+ gtk_label_set_text (GTK_LABEL (priv->vcodec_decoding_label), _("Unknown"));
+ gtk_label_set_text (GTK_LABEL (priv->acodec_decoding_label), _("Unknown"));
+}
+
static gboolean
empathy_call_window_disconnected (EmpathyCallWindow *self,
gboolean restart)
@@ -1823,6 +1834,8 @@ empathy_call_window_disconnected (EmpathyCallWindow *self,
gtk_widget_show (priv->remote_user_avatar_widget);
+ reset_details_pane (self);
+
priv->sending_video = FALSE;
priv->call_started = FALSE;