gmyth-stream/gmencoder/src/gmencoder.c
branchtrunk
changeset 940 1ac1550f69b6
parent 933 604f1de8ee09
child 941 2394aa79ef69
     1.1 --- a/gmyth-stream/gmencoder/src/gmencoder.c	Fri Feb 29 19:03:41 2008 +0000
     1.2 +++ b/gmyth-stream/gmencoder/src/gmencoder.c	Tue Mar 04 13:51:13 2008 +0000
     1.3 @@ -1064,6 +1064,11 @@
     1.4              gchar          *debug;
     1.5              gchar          *err_str;
     1.6  
     1.7 +	    if (priv->timeout_id != 0) {
     1.8 +                g_source_remove (priv->timeout_id);
     1.9 +		priv->timeout_id = 0;
    1.10 +            }
    1.11 +
    1.12              if (priv->tick_id != 0) {
    1.13                  g_source_remove(priv->tick_id);
    1.14                  priv->tick_id = 0;