mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
ffmpegscale: add cast to fix compiler warning
This commit is contained in:
parent
7b2e3137a5
commit
508d4918b0
1 changed files with 2 additions and 1 deletions
|
@ -646,7 +646,8 @@ gst_ffmpegscale_transform (GstBaseTransform * trans, GstBuffer * inbuf,
|
|||
goto invalid_buffer;
|
||||
|
||||
sws_scale (scale->ctx, (const guint8 **) in_frame.data, in_frame.info.stride,
|
||||
0, scale->in_info.height, out_frame.data, out_frame.info.stride);
|
||||
0, scale->in_info.height, (guint8 **) out_frame.data,
|
||||
out_frame.info.stride);
|
||||
|
||||
gst_video_frame_unmap (&in_frame);
|
||||
gst_video_frame_unmap (&out_frame);
|
||||
|
|
Loading…
Reference in a new issue