Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1563>
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;
};
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);
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;
}
* 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
}
/**
- * gst_h264_dpb_delete_outputed:
+ * gst_h264_dpb_delete_outputted:
* @dpb: a #GstH264Dpb
*
* Delete already outputted picture, even if they are referenced.
* Since: 1.18
*/
void
-gst_h264_dpb_delete_outputed (GstH264Dpb * dpb)
+gst_h264_dpb_delete_outputted (GstH264Dpb * dpb)
{
gint i;
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,