codecs: h264decoder: Rename API arguments

Although it's not public ones, make them consistent with vfunc
for them to be nicer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1449>
This commit is contained in:
Seungha Yang 2020-07-21 17:53:29 +09:00
parent bb9fbf0626
commit 973a2569d4
2 changed files with 6 additions and 6 deletions

View file

@ -2458,15 +2458,15 @@ gst_h264_decoder_modify_ref_pic_lists (GstH264Decoder * self)
}
void
gst_h264_decoder_set_process_ref_pic_lists (GstH264Decoder * self,
gst_h264_decoder_set_process_ref_pic_lists (GstH264Decoder * decoder,
gboolean process)
{
self->priv->process_ref_pic_lists = process;
decoder->priv->process_ref_pic_lists = process;
}
GstH264Picture *
gst_h264_decoder_get_picture (GstH264Decoder * self,
gst_h264_decoder_get_picture (GstH264Decoder * decoder,
guint32 system_frame_number)
{
return gst_h264_dpb_get_picture (self->priv->dpb, system_frame_number);
return gst_h264_dpb_get_picture (decoder->priv->dpb, system_frame_number);
}

View file

@ -136,11 +136,11 @@ GST_CODECS_API
GType gst_h264_decoder_get_type (void);
GST_CODECS_API
void gst_h264_decoder_set_process_ref_pic_lists (GstH264Decoder * self,
void gst_h264_decoder_set_process_ref_pic_lists (GstH264Decoder * decoder,
gboolean process);
GST_CODECS_API
GstH264Picture * gst_h264_decoder_get_picture (GstH264Decoder * self,
GstH264Picture * gst_h264_decoder_get_picture (GstH264Decoder * decoder,
guint32 system_frame_number);
G_END_DECLS