Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
023487b8
Commit
023487b8
authored
Oct 14, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DirectFB: check that the vout is not windowed
parent
42b0285a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/video_output/directfb.c
modules/video_output/directfb.c
+3
-2
No files found.
modules/video_output/directfb.c
View file @
023487b8
...
...
@@ -76,6 +76,9 @@ static int Open(vlc_object_t *object)
vout_display_t
*
vd
=
(
vout_display_t
*
)
object
;
vout_display_sys_t
*
sys
;
if
(
vout_display_IsWindowed
(
vd
))
return
VLC_EGENERIC
;
vd
->
sys
=
sys
=
calloc
(
1
,
sizeof
(
*
sys
));
if
(
!
sys
)
return
VLC_ENOMEM
;
...
...
@@ -111,8 +114,6 @@ static int Open(vlc_object_t *object)
primary
->
GetSize
(
primary
,
&
width
,
&
height
);
vout_display_DeleteWindow
(
vd
,
NULL
);
/* */
video_format_t
fmt
;
video_format_ApplyRotation
(
&
fmt
,
&
vd
->
fmt
);
...
...
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