Fix some typos in code comments
authorTim-Philipp Müller <tim@centricular.com>
Fri, 11 Jan 2019 11:26:26 +0000 (11:26 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 11 Jan 2019 11:27:11 +0000 (11:27 +0000)
And don't use gtk-doc chunk markers for internal functions.

ext/pango/gstbasetextoverlay.c
gst/overlaycomposition/gstoverlaycomposition.c

index ded822a..5fe6273 100644 (file)
@@ -927,7 +927,7 @@ gst_base_text_overlay_negotiate (GstBaseTextOverlay * overlay, GstCaps * caps)
   overlay->window_height = height;
   gst_base_text_overlay_update_render_size (overlay);
 
-  /* For backward compatbility, we will prefer bliting if downstream
+  /* For backward compatibility, we will prefer blitting if downstream
    * allocation does not support the meta. In other case we will prefer
    * attaching, and will fail the negotiation in the unlikely case we are
    * force to blit, but format isn't supported. */
@@ -1349,8 +1349,7 @@ gst_base_text_overlay_src_event (GstPad * pad, GstObject * parent,
   return ret;
 }
 
-/**
- * gst_base_text_overlay_add_feature_and_intersect:
+/* gst_base_text_overlay_add_feature_and_intersect:
  *
  * Creates a new #GstCaps containing the (given caps +
  * given caps feature) + (given caps intersected by the
@@ -1382,8 +1381,7 @@ gst_base_text_overlay_add_feature_and_intersect (GstCaps * caps,
   return new_caps;
 }
 
-/**
- * gst_base_text_overlay_intersect_by_feature:
+/* gst_base_text_overlay_intersect_by_feature:
  *
  * Creates a new #GstCaps based on the following filtering rule.
  *
index a3c76f7..2f65ac4 100644 (file)
@@ -20,7 +20,8 @@
 /**
  * SECTION:element-overlaycomposition
  *
- * overlaycomposition renders an overlay using a application provided draw function.
+ * The overlaycomposition element renders an overlay using an application
+ * provided draw function.
  *
  * A more interesting example can be found at
  * https://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/examples/overlaycomposition/overlaycomposition.c
@@ -410,7 +411,7 @@ gst_overlay_composition_negotiate (GstOverlayComposition * self, GstCaps * caps)
   self->window_width = width;
   self->window_height = height;
 
-  /* For backward compatbility, we will prefer bliting if downstream
+  /* For backward compatibility, we will prefer blitting if downstream
    * allocation does not support the meta. In other case we will prefer
    * attaching, and will fail the negotiation in the unlikely case we are
    * force to blit, but format isn't supported. */
@@ -543,8 +544,7 @@ add_feature_and_intersect (GstCaps * caps,
 }
 
 /* Based on gstbasetextoverlay.c */
-/**
- * intersect_by_feature:
+/* intersect_by_feature:
  *
  * Creates a new #GstCaps based on the following filtering rule.
  *