mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:28:32 +00:00
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:
parent
bb9fbf0626
commit
973a2569d4
2 changed files with 6 additions and 6 deletions
|
@ -2458,15 +2458,15 @@ gst_h264_decoder_modify_ref_pic_lists (GstH264Decoder * self)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gst_h264_decoder_set_process_ref_pic_lists (GstH264Decoder * self,
|
gst_h264_decoder_set_process_ref_pic_lists (GstH264Decoder * decoder,
|
||||||
gboolean process)
|
gboolean process)
|
||||||
{
|
{
|
||||||
self->priv->process_ref_pic_lists = process;
|
decoder->priv->process_ref_pic_lists = process;
|
||||||
}
|
}
|
||||||
|
|
||||||
GstH264Picture *
|
GstH264Picture *
|
||||||
gst_h264_decoder_get_picture (GstH264Decoder * self,
|
gst_h264_decoder_get_picture (GstH264Decoder * decoder,
|
||||||
guint32 system_frame_number)
|
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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -136,11 +136,11 @@ GST_CODECS_API
|
||||||
GType gst_h264_decoder_get_type (void);
|
GType gst_h264_decoder_get_type (void);
|
||||||
|
|
||||||
GST_CODECS_API
|
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);
|
gboolean process);
|
||||||
|
|
||||||
GST_CODECS_API
|
GST_CODECS_API
|
||||||
GstH264Picture * gst_h264_decoder_get_picture (GstH264Decoder * self,
|
GstH264Picture * gst_h264_decoder_get_picture (GstH264Decoder * decoder,
|
||||||
guint32 system_frame_number);
|
guint32 system_frame_number);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
Loading…
Reference in a new issue