Commit ec15caff authored by Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal
Browse files

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: <gstreamer/gst-plugins-bad!1939>
parent df6c4843
......@@ -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");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment