video-blend: Actually allow negative offsets in the function signature too

This commit is contained in:
Sebastian Dröge 2012-03-06 12:42:03 +01:00
parent aeb6a6ee71
commit 1af6f94d84
2 changed files with 2 additions and 2 deletions

View file

@ -1338,7 +1338,7 @@ video_blend_scale_linear_RGBA (GstBlendVideoFormatInfo * src,
*/ */
gboolean gboolean
video_blend (GstBlendVideoFormatInfo * dest, video_blend (GstBlendVideoFormatInfo * dest,
GstBlendVideoFormatInfo * src, guint x, guint y) GstBlendVideoFormatInfo * src, gint x, gint y)
{ {
guint i, j; guint i, j;
guint8 alpha; guint8 alpha;

View file

@ -71,6 +71,6 @@ void video_blend_scale_linear_RGBA (GstBlendVideoFormatInfo * src,
gboolean video_blend (GstBlendVideoFormatInfo * dest, gboolean video_blend (GstBlendVideoFormatInfo * dest,
GstBlendVideoFormatInfo * src, GstBlendVideoFormatInfo * src,
guint x, guint y); gint x, gint y);
#endif #endif