[MOVED FROM BAD] don't mix tabs and spaces
authorThomas Vander Stichele <thomas@apestaart.org>
Mon, 15 Mar 2004 19:32:27 +0000 (19:32 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Fri, 15 May 2009 22:35:06 +0000 (23:35 +0100)
Original commit message from CVS:
don't mix tabs and spaces

gst/y4m/gsty4mencode.c

index 3c9c9fbe94f2e0272f98c0e1499e42a37e8d2bb7..773f96b84486b0cf931116a70017f8359ea7f939 100644 (file)
@@ -92,8 +92,9 @@ gst_y4mencode_get_type (void)
       0,
       (GInstanceInitFunc) gst_y4mencode_init,
     };
+
     y4mencode_type = g_type_register_static (GST_TYPE_ELEMENT,
-       "GstY4mEncode", &y4mencode_info, 0);
+        "GstY4mEncode", &y4mencode_info, 0);
   }
   return y4mencode_type;
 }
@@ -135,9 +136,9 @@ gst_y4mencode_sinkconnect (GstPad * pad, const GstCaps * caps)
   gdouble fps;
   gdouble framerates[] = {
     00.000,
-    23.976, 24.000,            /* 24fps movie */
-    25.000,                    /* PAL */
-    29.970, 30.000,            /* NTSC */
+    23.976, 24.000,             /* 24fps movie */
+    25.000,                     /* PAL */
+    29.970, 30.000,             /* NTSC */
     50.000,
     59.940, 60.000
   };
@@ -157,10 +158,10 @@ gst_y4mencode_sinkconnect (GstPad * pad, const GstCaps * caps)
       idx = i;
     } else {
       gdouble old_diff = fabs (framerates[idx] - fps),
-         new_diff = fabs (framerates[i] - fps);
+          new_diff = fabs (framerates[i] - fps);
 
       if (new_diff < old_diff) {
-       idx = i;
+        idx = i;
       }
     }
   }