eglglessink: gst_video_sink_center_rect() takes the structs itself instead of pointers as first parameters

This commit is contained in:
Sebastian Dröge 2013-02-28 12:04:50 +01:00
parent 31bed4c27d
commit 4f638c720a

View 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;