diff --git a/gst-libs/gst/codecs/gsth264decoder.c b/gst-libs/gst/codecs/gsth264decoder.c index 7a79ce7a13..1b4d77422c 100644 --- a/gst-libs/gst/codecs/gsth264decoder.c +++ b/gst-libs/gst/codecs/gsth264decoder.c @@ -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; } diff --git a/gst-libs/gst/codecs/gsth264decoder.h b/gst-libs/gst/codecs/gsth264decoder.h index fa94aa2965..1ec7451744 100644 --- a/gst-libs/gst/codecs/gsth264decoder.h +++ b/gst-libs/gst/codecs/gsth264decoder.h @@ -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 diff --git a/gst-libs/gst/codecs/gsth264picture.c b/gst-libs/gst/codecs/gsth264picture.c index 41b3571347..2e1a8b29ba 100644 --- a/gst-libs/gst/codecs/gsth264picture.c +++ b/gst-libs/gst/codecs/gsth264picture.c @@ -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; diff --git a/gst-libs/gst/codecs/gsth264picture.h b/gst-libs/gst/codecs/gsth264picture.h index 27d237dd26..f8d3794029 100644 --- a/gst-libs/gst/codecs/gsth264picture.h +++ b/gst-libs/gst/codecs/gsth264picture.h @@ -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,