h264decoder: Fix various typos
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 28 Jul 2020 22:32:03 +0000 (18:32 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 10 Sep 2020 15:21:57 +0000 (15:21 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1563>

gst-libs/gst/codecs/gsth264decoder.c
gst-libs/gst/codecs/gsth264decoder.h
gst-libs/gst/codecs/gsth264picture.c
gst-libs/gst/codecs/gsth264picture.h

index 7a79ce7..1b4d774 100644 (file)
@@ -141,7 +141,7 @@ struct _GstH264DecoderPrivate
   GArray *ref_pic_list0;
   GArray *ref_pic_list1;
 
-  /* Cached array to handle pictures to be outputed */
+  /* Cached array to handle pictures to be outputted */
   GArray *to_output;
 };
 
@@ -1320,9 +1320,9 @@ gst_h264_decoder_drain_internal (GstH264Decoder * self)
   GstH264DecoderPrivate *priv = self->priv;
   GArray *to_output = priv->to_output;
 
-  /* We are around to drain, so we can get rist of everything that has been
-   * outputed already */
-  gst_h264_dpb_delete_outputed (priv->dpb);
+  /* We are about to drain, so we can get rid of everything that has been
+   * outputted already */
+  gst_h264_dpb_delete_outputted (priv->dpb);
   gst_h264_dpb_get_pictures_not_outputted (priv->dpb, to_output);
   g_array_sort (to_output, (GCompareFunc) poc_asc_compare);
 
@@ -1675,7 +1675,7 @@ gst_h264_decoder_finish_picture (GstH264Decoder * self,
         gst_h264_dpb_add (priv->dpb, gst_h264_picture_ref (picture));
       }
 
-      /* and mark current picture is handled */
+      /* and mark current picture as handled */
       picture = NULL;
     }
 
index fa94aa2..1ec7451 100644 (file)
@@ -77,9 +77,7 @@ struct _GstH264Decoder
  *                  Called per one #GstH264Picture to notify subclass to finish
  *                  decoding process for the #GstH264Picture
  * @output_picture: Called with a #GstH264Picture which is required to be outputted.
- *                  Subclass can retrieve parent #GstVideoCodecFrame by using
- *                  gst_video_decoder_get_frame() with system_frame_number
- *                  and the #GstVideoCodecFrame must be consumed by subclass via
+ *                  The #GstVideoCodecFrame must be consumed by subclass via
  *                  gst_video_decoder_{finish,drop,release}_frame().
  */
 struct _GstH264DecoderClass
index 41b3571..2e1a8b2 100644 (file)
@@ -234,7 +234,7 @@ gst_h264_dpb_delete_unused (GstH264Dpb * dpb)
 }
 
 /**
- * gst_h264_dpb_delete_outputed:
+ * gst_h264_dpb_delete_outputted:
  * @dpb: a #GstH264Dpb
  *
  * Delete already outputted picture, even if they are referenced.
@@ -242,7 +242,7 @@ gst_h264_dpb_delete_unused (GstH264Dpb * dpb)
  * Since: 1.18
  */
 void
-gst_h264_dpb_delete_outputed (GstH264Dpb * dpb)
+gst_h264_dpb_delete_outputted (GstH264Dpb * dpb)
 {
   gint i;
 
index 27d237d..f8d3794 100644 (file)
@@ -170,7 +170,7 @@ GST_CODECS_API
 void  gst_h264_dpb_delete_unused    (GstH264Dpb * dpb);
 
 GST_CODECS_API
-void gst_h264_dpb_delete_outputed   (GstH264Dpb * dpb);
+void gst_h264_dpb_delete_outputted  (GstH264Dpb * dpb);
 
 GST_CODECS_API
 void  gst_h264_dpb_delete_by_poc    (GstH264Dpb * dpb,