Commit 0b40ac63 authored by Julien Moutte's avatar Julien Moutte

ffvideoscale: Fix build warning.

FFMpeg swscale function wants some const pointers.
parent 56172c60
......@@ -673,8 +673,8 @@ gst_ffmpegscale_transform (GstBaseTransform * trans, GstBuffer * inbuf,
out_data[i] = GST_BUFFER_DATA (outbuf) + scale->out_offset[i];
}
sws_scale (scale->ctx, in_data, scale->in_stride, 0, scale->in_height,
out_data, scale->out_stride);
sws_scale (scale->ctx, (const guint8 **) in_data, scale->in_stride, 0,
scale->in_height, out_data, scale->out_stride);
return GST_FLOW_OK;
}
......
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