diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-01-06 12:48:14 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-01-06 16:47:42 +0100 |
commit | ec15caff9311b2eae4463a43d85a143e31331a20 (patch) | |
tree | 50058661c92e4f4a5c7368fca7765e2b4a588b2c /gst-libs | |
parent | df6c4843a72937897ebec2b0b1ff206460683063 (diff) | |
download | gstreamer-plugins-bad-ec15caff9311b2eae4463a43d85a143e31331a20.tar.gz |
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>
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/codecs/gstmpeg2decoder.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gst-libs/gst/codecs/gstmpeg2decoder.c b/gst-libs/gst/codecs/gstmpeg2decoder.c index 495d68475..c3d9a073e 100644 --- a/gst-libs/gst/codecs/gstmpeg2decoder.c +++ b/gst-libs/gst/codecs/gstmpeg2decoder.c @@ -723,17 +723,18 @@ gst_mpeg2_decoder_start_current_picture (GstMpeg2Decoder * decoder, { GstMpeg2DecoderPrivate *priv = decoder->priv; GstMpeg2DecoderClass *klass = GST_MPEG2_DECODER_GET_CLASS (decoder); - GstMpeg2Picture *prev_picture_ptr, *next_picture_ptr; + GstMpeg2Picture *prev_picture, *next_picture; gboolean ret; if (!klass->start_picture) return TRUE; 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, - prev_picture_ptr, next_picture_ptr); + prev_picture, next_picture); if (!ret) { GST_ERROR_OBJECT (decoder, "subclass does not want to start picture"); |