mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue