|
From: <ren...@us...> - 2008-02-29 19:03:57
|
Revision: 942
http://gmyth.svn.sourceforge.net/gmyth/?rev=942&view=rev
Author: renatofilho
Date: 2008-02-29 11:03:41 -0800 (Fri, 29 Feb 2008)
Log Message:
-----------
put back timeout function
Modified Paths:
--------------
trunk/gmyth-stream/gmencoder/src/gmencoder.c
Modified: trunk/gmyth-stream/gmencoder/src/gmencoder.c
===================================================================
--- trunk/gmyth-stream/gmencoder/src/gmencoder.c 2008-02-28 08:10:55 UTC (rev 941)
+++ trunk/gmyth-stream/gmencoder/src/gmencoder.c 2008-02-29 19:03:41 UTC (rev 942)
@@ -708,7 +708,7 @@
if (priv->timeout_id != 0) {
g_source_remove (priv->timeout_id);
}
- //priv->timeout_id = g_timeout_add(GMENCODER_TIMEOUT, _process_timeout_cb, self);
+ priv->timeout_id = g_timeout_add(GMENCODER_TIMEOUT, _process_timeout_cb, self);
}
void
@@ -1237,6 +1237,8 @@
priv->timeout_id = 0;
}
+ priv->timeout_id = g_timeout_add(GMENCODER_TIMEOUT, _process_timeout_cb, user_data);
+
if (priv->send_chunked) {
if (_send_buffer (priv->handle, GST_BUFFER_DATA (buff), GST_BUFFER_SIZE (buff)) == FALSE)
goto error;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|