Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e04a1207
Commit
e04a1207
authored
Oct 14, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iOS: check that the vout is not windowed
parent
6d07b5e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/video_output/ios2.m
modules/video_output/ios2.m
+4
-2
No files found.
modules/video_output/ios2.m
View file @
e04a1207
...
...
@@ -121,6 +121,10 @@ static void *OurGetProcAddress(vlc_gl_t *gl, const char *name)
static
int
Open
(
vlc_object_t
*
this
)
{
vout_display_t
*
vd
=
(
vout_display_t
*
)
this
;
if
(
vout_display_IsWindowed
(
vd
))
return
VLC_EGENERIC
;
vout_display_sys_t
*
sys
=
calloc
(
1
,
sizeof
(
*
sys
));
NSAutoreleasePool
*
autoreleasePool
=
nil
;
...
...
@@ -138,8 +142,6 @@ static int Open(vlc_object_t *this)
if
(
!
viewContainer
||
!
[
viewContainer
isKindOfClass
:[
UIView
class
]])
goto
bailout
;
vout_display_DeleteWindow
(
vd
,
NULL
);
/* This will be released in Close(), on
* main thread, after we are done using it. */
sys
->
viewContainer
=
[
viewContainer
retain
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment