rtp: Update codes based on 1.18.4
[platform/upstream/gst-plugins-good.git] / gst / rtp / gstrtph261pay.c
index b592d11..9b8c0d9 100644 (file)
@@ -20,6 +20,7 @@
 
 /**
  * SECTION:element-rtph261pay
+ * @title: rtph261pay
  * @see_also: rtph261depay
  *
  * Payload encoded H.261 video frames into RTP packets according to RFC 4587.
  * encoder does not produce a continuous bit-stream but the decoder requires
  * it.
  *
- * <refsect2>
- * <title>Example launch line</title>
+ * ## Example launch line
  * |[
  * gst-launch-1.0 videotestsrc ! avenc_h261 ! rtph261pay ! udpsink
  * ]| This will encode a test video and payload it. Refer to the rtph261depay
  * example to depayload and play the RTP stream.
- * </refsect2>
+ *
  */
 
 #ifdef HAVE_CONFIG_H
@@ -773,7 +773,7 @@ find_gob (GstRtpH261Pay * pay, const guint8 * data, guint size, guint pos)
   return ret;
 }
 
-/* Scans after all GOB start codes and initalizes the GOB structure with start
+/* Scans after all GOB start codes and initializes the GOB structure with start
  * and end positions. */
 static ParseReturn
 gst_rtp_h261_pay_init_gobs (GstRtpH261Pay * pay, Gob * gobs, gint num_gobs,
@@ -947,7 +947,7 @@ gst_rtp_h261_pay_shift_buffer (GstRtpH261Pay * pay, const guint8 * data,
     gsize size, gint offset, gsize * newsize)
 {
   /* In order to read variable length codes at the very end of the buffer
-   * wihout peeking into possibly unallocated data, we pad with extra 0's
+   * without peeking into possibly unallocated data, we pad with extra 0's
    * which will generate an invalid code at the end of the buffer. */
   guint pad = 4;
   gsize allocsize = size + pad;