From 4f638c720a5e14f3271f501a09ffba5bcc112c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 28 Feb 2013 12:04:50 +0100 Subject: [PATCH] eglglessink: gst_video_sink_center_rect() takes the structs itself instead of pointers as first parameters --- ext/eglgles/video_platform_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/eglgles/video_platform_wrapper.c b/ext/eglgles/video_platform_wrapper.c index 085b8184d1..bdf4d6ebfd 100644 --- a/ext/eglgles/video_platform_wrapper.c +++ b/ext/eglgles/video_platform_wrapper.c @@ -708,7 +708,7 @@ platform_create_native_window (gint width, gint height, gpointer * window_data) dst.w = dp_width; dst.h = dp_height; dst.x = dst.y = 0; - gst_video_sink_center_rect (&src, &dst, &res, TRUE); + gst_video_sink_center_rect (src, dst, &res, TRUE); dst_rect.x = res.x; dst_rect.y = res.y;