Commit 1e2a57c3 authored by Felix Paul Kühne's avatar Felix Paul Kühne

iOS vout: fix runtime exception (closes #14800)

parent 5520cd1f
...@@ -139,7 +139,10 @@ static int Open(vlc_object_t *this) ...@@ -139,7 +139,10 @@ static int Open(vlc_object_t *this)
/* get the object we will draw into */ /* get the object we will draw into */
UIView* viewContainer = var_CreateGetAddress (vd, "drawable-nsobject"); UIView* viewContainer = var_CreateGetAddress (vd, "drawable-nsobject");
if (!viewContainer || ![viewContainer isKindOfClass:[UIView class]]) if (!viewContainer)
goto bailout;
if (![viewContainer isKindOfClass:[UIView class]])
goto bailout; goto bailout;
/* This will be released in Close(), on /* This will be released in Close(), on
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment