blob: 1fe10b3361b1d538147cfb057134ec6c77d6395e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff -uNr tapiocaui-0.3.9-org/src/tapiocaui_shell_media.c tapiocaui-0.3.9/src/tapiocaui_shell_media.c
--- tapiocaui-0.3.9-org/src/tapiocaui_shell_media.c 2006-06-08 21:57:31.000000000 +0200
+++ tapiocaui-0.3.9/src/tapiocaui_shell_media.c 2006-10-30 17:12:14.000000000 +0100
@@ -173,7 +173,7 @@
g_signal_handlers_disconnect_by_func (G_OBJECT (stream), G_CALLBACK (new_native_candidate), comm);
g_signal_handlers_disconnect_by_func (G_OBJECT (stream), G_CALLBACK (state_changed), self);
- if (farsight_stream_get_state != FARSIGHT_STREAM_STATE_STOPPED)
+ if (farsight_stream_get_state != FARSIGHT_STREAM_STATE_DISCONNECTED)
farsight_stream_stop (stream);
g_object_unref (stream);
comm->stream = NULL;
@@ -357,11 +357,11 @@
TapiocaUIShell *self = (TapiocaUIShell *) user_data;
switch (state) {
- case FARSIGHT_STREAM_STATE_STOPPED:
+ case FARSIGHT_STREAM_STATE_DISCONNECTED:
tapiocaui_debug ("stream stopped: stream=%p", stream);
tapiocaui_shell_close_call (self, self->priv->active_comm);
break;
- case FARSIGHT_STREAM_STATE_PLAYING:
+ case FARSIGHT_STREAM_STATE_CONNECTED:
tapiocaui_debug ("stream playing: stream=%p", stream);
break;
default:
|