v4l2: Fix typo contol -> control
authorWilliam Manley <will@williammanley.net>
Sun, 9 Mar 2014 00:29:58 +0000 (19:29 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sun, 9 Mar 2014 00:29:58 +0000 (19:29 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=725632

sys/v4l2/v4l2_calls.c

index 88d8431..e05ad4d 100644 (file)
@@ -1026,7 +1026,7 @@ ctrl_failed:
 }
 
 static gboolean
-set_contol (GQuark field_id, const GValue * value, gpointer user_data)
+set_control (GQuark field_id, const GValue * value, gpointer user_data)
 {
   GstV4l2Object *v4l2object = user_data;
   GQuark normalised_field_id;
@@ -1070,7 +1070,7 @@ set_contol (GQuark field_id, const GValue * value, gpointer user_data)
 gboolean
 gst_v4l2_set_controls (GstV4l2Object * v4l2object, GstStructure * controls)
 {
-  return gst_structure_foreach (controls, set_contol, v4l2object);
+  return gst_structure_foreach (controls, set_control, v4l2object);
 }
 
 gboolean