gmyth-stream/gmencoder/src/gmencoder.c
branchtrunk
changeset 906 987fafbda04d
parent 898 4fbbacbbca34
child 916 39d46bc373eb
     1.1 --- a/gmyth-stream/gmencoder/src/gmencoder.c	Wed Jan 30 03:36:13 2008 +0000
     1.2 +++ b/gmyth-stream/gmencoder/src/gmencoder.c	Fri Feb 01 14:32:18 2008 +0000
     1.3 @@ -503,7 +503,8 @@
     1.4  
     1.5          vcaps = gst_caps_new_simple("video/x-raw-yuv",
     1.6                                      "framerate", GST_TYPE_FRACTION,
     1.7 -                                    (int) (fps * 1000), 1000, NULL);
     1.8 +                                    (int) (fps * 1000), 1000,
     1.9 +                                    NULL);
    1.10  
    1.11          if (gst_element_link_filtered(vrate, vencode, vcaps) == FALSE) {
    1.12              g_warning("Fail to link vrate with vencode.");
    1.13 @@ -1231,8 +1232,8 @@
    1.14      GMencoderPrivate *priv = G_MENCODER_GET_PRIVATE(user_data);
    1.15  
    1.16      if (priv->timeout_id != 0) {
    1.17 -	g_source_remove (priv->timeout_id);
    1.18 -	priv->timeout_id = 0;
    1.19 +        g_source_remove (priv->timeout_id);
    1.20 +        priv->timeout_id = 0;
    1.21      }
    1.22  
    1.23      if (priv->send_chunked) {