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:
Edward Hervey 2012-06-20 10:35:04 +02:00
parent 2817bdadc9
commit 3eb5378247
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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