diff -r 4fbbacbbca34 -r d2d226b5a4bd gmyth-stream/gmencoder/src/gmencoder.c --- a/gmyth-stream/gmencoder/src/gmencoder.c Wed Jan 30 03:36:13 2008 +0000 +++ b/gmyth-stream/gmencoder/src/gmencoder.c Fri Feb 01 14:30:21 2008 +0000 @@ -503,7 +503,8 @@ vcaps = gst_caps_new_simple("video/x-raw-yuv", "framerate", GST_TYPE_FRACTION, - (int) (fps * 1000), 1000, NULL); + (int) (fps * 1000), 1000, + NULL); if (gst_element_link_filtered(vrate, vencode, vcaps) == FALSE) { g_warning("Fail to link vrate with vencode."); @@ -1231,8 +1232,8 @@ GMencoderPrivate *priv = G_MENCODER_GET_PRIVATE(user_data); if (priv->timeout_id != 0) { - g_source_remove (priv->timeout_id); - priv->timeout_id = 0; + g_source_remove (priv->timeout_id); + priv->timeout_id = 0; } if (priv->send_chunked) {