eglglessink: gst_video_sink_center_rect() takes the structs itself instead of pointer...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 28 Feb 2013 11:04:50 +0000 (12:04 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 28 Feb 2013 11:04:50 +0000 (12:04 +0100)
ext/eglgles/video_platform_wrapper.c

index 085b8184d1fbb92c26c5f54b06fb7ae69fdedeb2..bdf4d6ebfd797a7a4f351a5429a50db603cfcb62 100644 (file)
@@ -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;