/**
* 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
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,
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;