mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
codecs: mpeg2decoder: rename variables
Since prev_picture and next_picture are plain pointers, not pointer to pointers, it's misleading to name them with _ptr suffix. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1939>
This commit is contained in:
parent
df6c4843a7
commit
ec15caff93
1 changed files with 4 additions and 3 deletions
|
@ -723,17 +723,18 @@ gst_mpeg2_decoder_start_current_picture (GstMpeg2Decoder * decoder,
|
||||||
{
|
{
|
||||||
GstMpeg2DecoderPrivate *priv = decoder->priv;
|
GstMpeg2DecoderPrivate *priv = decoder->priv;
|
||||||
GstMpeg2DecoderClass *klass = GST_MPEG2_DECODER_GET_CLASS (decoder);
|
GstMpeg2DecoderClass *klass = GST_MPEG2_DECODER_GET_CLASS (decoder);
|
||||||
GstMpeg2Picture *prev_picture_ptr, *next_picture_ptr;
|
GstMpeg2Picture *prev_picture, *next_picture;
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
|
|
||||||
if (!klass->start_picture)
|
if (!klass->start_picture)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
gst_mpeg2_dpb_get_neighbours (priv->dpb, priv->current_picture,
|
gst_mpeg2_dpb_get_neighbours (priv->dpb, priv->current_picture,
|
||||||
&prev_picture_ptr, &next_picture_ptr);
|
&prev_picture, &next_picture);
|
||||||
|
|
||||||
|
|
||||||
ret = klass->start_picture (decoder, priv->current_picture, slice,
|
ret = klass->start_picture (decoder, priv->current_picture, slice,
|
||||||
prev_picture_ptr, next_picture_ptr);
|
prev_picture, next_picture);
|
||||||
|
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
GST_ERROR_OBJECT (decoder, "subclass does not want to start picture");
|
GST_ERROR_OBJECT (decoder, "subclass does not want to start picture");
|
||||||
|
|
Loading…
Reference in a new issue