From: <ren...@us...> - 2008-03-04 13:51:15
|
Revision: 949 http://gmyth.svn.sourceforge.net/gmyth/?rev=949&view=rev Author: renatofilho Date: 2008-03-04 05:51:13 -0800 (Tue, 04 Mar 2008) Log Message: ----------- clear timeout function when gst emit error 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-03-03 17:38:32 UTC (rev 948) +++ trunk/gmyth-stream/gmencoder/src/gmencoder.c 2008-03-04 13:51:13 UTC (rev 949) @@ -1064,6 +1064,11 @@ gchar *debug; gchar *err_str; + if (priv->timeout_id != 0) { + g_source_remove (priv->timeout_id); + priv->timeout_id = 0; + } + if (priv->tick_id != 0) { g_source_remove(priv->tick_id); priv->tick_id = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |