1.1 --- a/gmyth-stream/gmencoder/src/gmencoder.c Wed Feb 27 11:00:07 2008 +0000
1.2 +++ b/gmyth-stream/gmencoder/src/gmencoder.c Sat Mar 01 23:15:42 2008 +0000
1.3 @@ -708,7 +708,7 @@
1.4 if (priv->timeout_id != 0) {
1.5 g_source_remove (priv->timeout_id);
1.6 }
1.7 - //priv->timeout_id = g_timeout_add(GMENCODER_TIMEOUT, _process_timeout_cb, self);
1.8 + priv->timeout_id = g_timeout_add(GMENCODER_TIMEOUT, _process_timeout_cb, self);
1.9 }
1.10
1.11 void
1.12 @@ -1237,6 +1237,8 @@
1.13 priv->timeout_id = 0;
1.14 }
1.15
1.16 + priv->timeout_id = g_timeout_add(GMENCODER_TIMEOUT, _process_timeout_cb, user_data);
1.17 +
1.18 if (priv->send_chunked) {
1.19 if (_send_buffer (priv->handle, GST_BUFFER_DATA (buff), GST_BUFFER_SIZE (buff)) == FALSE)
1.20 goto error;