mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
h264decoder: Fix various typos
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1563>
This commit is contained in:
parent
20785e775e
commit
f4b2da3c63
4 changed files with 9 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue