video-blend: Actually allow negative offsets in the function signature too
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 6 Mar 2012 11:42:03 +0000 (12:42 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 6 Mar 2012 11:42:03 +0000 (12:42 +0100)
gst-libs/gst/video/video-blend.c
gst-libs/gst/video/video-blend.h

index 9231464..2eb8ac0 100644 (file)
@@ -1338,7 +1338,7 @@ video_blend_scale_linear_RGBA (GstBlendVideoFormatInfo * src,
  */
 gboolean
 video_blend (GstBlendVideoFormatInfo * dest,
-    GstBlendVideoFormatInfo * src, guint x, guint y)
+    GstBlendVideoFormatInfo * src, gint x, gint y)
 {
   guint i, j;
   guint8 alpha;
index f3673a6..32e5d12 100644 (file)
@@ -71,6 +71,6 @@ void       video_blend_scale_linear_RGBA  (GstBlendVideoFormatInfo * src,
 
 gboolean   video_blend                    (GstBlendVideoFormatInfo * dest,
                                            GstBlendVideoFormatInfo * src,
-                                           guint x, guint y);
+                                           gint x, gint y);
 
 #endif