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, 21 Mar 2013 09:11:32 +0000 (10:11 +0100)
ext/eglgles/video_platform_wrapper.c

index 9b0dc37b5f3bdd285416b89363d883e16d151216..735136a5387e6422a514a7bac03cadb4d8173da3 100644 (file)
@@ -204,7 +204,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;