eglglessink: gst_video_sink_center_rect() takes the structs itself instead of pointers as first parameters
This commit is contained in:
parent
31bed4c27d
commit
4f638c720a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user