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
0ec926a3
Commit
0ec926a3
authored
Oct 11, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
android: check that the vout is not windowed
parent
6bf3a80f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
modules/video_output/android/opaque.c
modules/video_output/android/opaque.c
+2
-0
modules/video_output/android/surface.c
modules/video_output/android/surface.c
+2
-0
No files found.
modules/video_output/android/opaque.c
View file @
0ec926a3
...
@@ -176,6 +176,8 @@ static int Open(vlc_object_t *p_this)
...
@@ -176,6 +176,8 @@ static int Open(vlc_object_t *p_this)
if
(
fmt
.
i_chroma
!=
VLC_CODEC_ANDROID_OPAQUE
)
if
(
fmt
.
i_chroma
!=
VLC_CODEC_ANDROID_OPAQUE
)
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
if
(
vout_display_IsWindowed
(
vd
))
return
VLC_EGENERIC
;
/* Allocate structure */
/* Allocate structure */
vout_display_sys_t
*
sys
=
(
struct
vout_display_sys_t
*
)
calloc
(
1
,
sizeof
(
*
sys
));
vout_display_sys_t
*
sys
=
(
struct
vout_display_sys_t
*
)
calloc
(
1
,
sizeof
(
*
sys
));
...
...
modules/video_output/android/surface.c
View file @
0ec926a3
...
@@ -180,6 +180,8 @@ static int Open(vlc_object_t *p_this)
...
@@ -180,6 +180,8 @@ static int Open(vlc_object_t *p_this)
if
(
fmt
.
i_chroma
==
VLC_CODEC_ANDROID_OPAQUE
)
if
(
fmt
.
i_chroma
==
VLC_CODEC_ANDROID_OPAQUE
)
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
if
(
vout_display_IsWindowed
(
vd
))
return
VLC_EGENERIC
;
/* */
/* */
if
(
vlc_mutex_trylock
(
&
single_instance
)
!=
0
)
{
if
(
vlc_mutex_trylock
(
&
single_instance
)
!=
0
)
{
...
...
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