mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
ffvideoscale: Fix build warning.
FFMpeg swscale function wants some const pointers.
This commit is contained in:
parent
56172c60af
commit
0b40ac6331
1 changed files with 2 additions and 2 deletions
|
@ -673,8 +673,8 @@ gst_ffmpegscale_transform (GstBaseTransform * trans, GstBuffer * inbuf,
|
||||||
out_data[i] = GST_BUFFER_DATA (outbuf) + scale->out_offset[i];
|
out_data[i] = GST_BUFFER_DATA (outbuf) + scale->out_offset[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
sws_scale (scale->ctx, in_data, scale->in_stride, 0, scale->in_height,
|
sws_scale (scale->ctx, (const guint8 **) in_data, scale->in_stride, 0,
|
||||||
out_data, scale->out_stride);
|
scale->in_height, out_data, scale->out_stride);
|
||||||
|
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue