mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
video-blend: Fix argument signedness
The x/y values are meant to be signed.
This bug was introduced by 76c0881549
Conflicts:
gst-libs/gst/video/video-blend.c
gst-libs/gst/video/video-blend.h
This commit is contained in:
parent
2817bdadc9
commit
3eb5378247
2 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ gst_video_blend_scale_linear_RGBA (GstVideoInfo * src, GstBuffer * src_buffer,
|
|||
*/
|
||||
gboolean
|
||||
gst_video_blend (GstVideoFrame * dest,
|
||||
GstVideoFrame * src, guint x, guint y, gfloat global_alpha)
|
||||
GstVideoFrame * src, gint x, gint y, gfloat global_alpha)
|
||||
{
|
||||
guint i, j, global_alpha_val, src_width, src_height, dest_width, dest_height;
|
||||
gint xoff;
|
||||
|
|
|
@ -33,7 +33,7 @@ void gst_video_blend_scale_linear_RGBA (GstVideoInfo * src, GstBuffer * s
|
|||
|
||||
gboolean gst_video_blend (GstVideoFrame * dest,
|
||||
GstVideoFrame * src,
|
||||
guint x, guint y,
|
||||
gint x, gint y,
|
||||
gfloat global_alpha);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue