mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
vulkan/ios: initialize the frame to the parent's
This commit is contained in:
parent
61a7707eca
commit
c8614bf4da
1 changed files with 1 additions and 1 deletions
|
@ -137,8 +137,8 @@ static void
|
|||
_create_window (GstVulkanWindowIos * window_ios)
|
||||
{
|
||||
GstVulkanWindowIosPrivate *priv = window_ios->priv;
|
||||
CGRect rect = CGRectMake (0, 0, priv->preferred_width, priv->preferred_height);
|
||||
UIView *external_view = (__bridge UIView *) priv->external_view;
|
||||
CGRect rect = CGRectMake (0, 0, external_view.frame.size.width, external_view.frame.size.height);
|
||||
GstVulkanUIView *view;
|
||||
|
||||
view = [[GstVulkanUIView alloc] initWithFrame:rect];
|
||||
|
|
Loading…
Reference in a new issue