docs: fix typos
authorTim-Philipp Müller <tim@centricular.com>
Wed, 23 May 2018 12:14:27 +0000 (13:14 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 23 May 2018 12:14:27 +0000 (13:14 +0100)
gst/rtp/gstrtph264depay.c
gst/rtpmanager/gstrtpbin.c
gst/rtpmanager/rtpsession.h
gst/rtsp/gstrtspsrc.c
gst/udp/gstmultiudpsink.c

index 6ce3820..afe9630 100644 (file)
@@ -281,9 +281,7 @@ gst_rtp_h264_depay_set_output_caps (GstRtpH264Depay * rtph264depay,
   gst_allocation_params_init (&params);
 
   srcpad = GST_RTP_BASE_DEPAYLOAD_SRCPAD (rtph264depay);
-
   res = gst_pad_set_caps (srcpad, caps);
-
   if (res) {
     GstQuery *query;
 
index 569b027..66470c2 100644 (file)
@@ -3402,7 +3402,7 @@ copy_sticky_events (GstPad * pad, GstEvent ** event, gpointer user_data)
   return TRUE;
 }
 
-/* a new pad (SSRC) was created in @session. This signal is emited from the
+/* a new pad (SSRC) was created in @session. This signal is emitted from the
  * payload demuxer. */
 static void
 new_payload_found (GstElement * element, guint pt, GstPad * pad,
@@ -3584,7 +3584,7 @@ payload_type_change (GstElement * element, guint pt, GstRtpBinSession * session)
       0, session->id, pt);
 }
 
-/* emited when caps changed for the session */
+/* emitted when caps changed for the session */
 static void
 caps_changed (GstPad * pad, GParamSpec * pspec, GstRtpBinSession * session)
 {
@@ -3672,7 +3672,7 @@ new_ssrc_pad_found (GstElement * element, guint ssrc, GstPad * pad,
     stream->demux_padremoved_sig = g_signal_connect (stream->demux,
         "pad-removed", (GCallback) payload_pad_removed, stream);
 
-    /* connect to the request-pt-map signal. This signal will be emited by the
+    /* connect to the request-pt-map signal. This signal will be emitted by the
      * demuxer so that it can apply a proper caps on the buffers for the
      * depayloaders. */
     stream->demux_ptreq_sig = g_signal_connect (stream->demux,
index 5ca8a82..99e5dd6 100644 (file)
@@ -284,8 +284,8 @@ struct _RTPSession {
 
 /**
  * RTPSessionClass:
- * @on_new_ssrc: emited when a new source is found
- * @on_bye_ssrc: emited when a source is gone
+ * @on_new_ssrc: emitted when a new source is found
+ * @on_bye_ssrc: emitted when a source is gone
  *
  * The session class.
  */
index e6909d3..5f7a514 100644 (file)
@@ -901,7 +901,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
    * @rtspsrc: a #GstRTSPSrc
    * @sdp: a #GstSDPMessage
    *
-   * Emited when the client has retrieved the SDP and before it configures the
+   * Emitted when the client has retrieved the SDP and before it configures the
    * streams in the SDP. @sdp can be inspected and modified.
    *
    * This signal is called from the streaming thread, you should therefore not
@@ -923,7 +923,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
    * @num: the stream number
    * @caps: the stream caps
    *
-   * Emited before the client decides to configure the stream @num with
+   * Emitted before the client decides to configure the stream @num with
    * @caps.
    *
    * Returns: %TRUE when the stream should be selected, %FALSE when the stream
@@ -942,7 +942,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
    * @rtspsrc: a #GstRTSPSrc
    * @manager: a #GstElement
    *
-   * Emited after a new manager (like rtpbin) was created and the default
+   * Emitted after a new manager (like rtpbin) was created and the default
    * properties were configured.
    *
    * Since: 1.4
@@ -957,7 +957,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
    * @rtspsrc: a #GstRTSPSrc
    * @num: the stream number
    *
-   * Signal emited to get the crypto parameters relevant to the RTCP
+   * Signal emitted to get the crypto parameters relevant to the RTCP
    * stream. User should provide the key and the RTCP encryption ciphers
    * and authentication, and return them wrapped in a GstCaps.
    *
index 8c69634..c5ec937 100644 (file)
@@ -227,7 +227,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass)
    * @host: the hostname/IP address of the added client
    * @port: the port of the added client
    *
-   * Signal emited when a new client is added to the list of
+   * Signal emitted when a new client is added to the list of
    * clients.
    */
   gst_multiudpsink_signals[SIGNAL_CLIENT_ADDED] =
@@ -241,7 +241,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass)
    * @host: the hostname/IP address of the removed client
    * @port: the port of the removed client
    *
-   * Signal emited when a client is removed from the list of
+   * Signal emitted when a client is removed from the list of
    * clients.
    */
   gst_multiudpsink_signals[SIGNAL_CLIENT_REMOVED] =