Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
00c7be60
Commit
00c7be60
authored
Apr 18, 2014
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
directfb: inline CloseDisplay
parent
8f2fde3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
+8
-16
modules/video_output/directfb.c
modules/video_output/directfb.c
+8
-16
No files found.
modules/video_output/directfb.c
View file @
00c7be60
...
...
@@ -63,7 +63,6 @@ static void Manage (vout_display_t *);
/* */
static
int
OpenDisplay
(
vout_display_t
*
);
static
void
CloseDisplay
(
vout_display_t
*
);
/* */
struct
vout_display_sys_t
{
...
...
@@ -180,7 +179,14 @@ static void Close(vlc_object_t *object)
if
(
sys
->
pool
)
picture_pool_Delete
(
sys
->
pool
);
CloseDisplay
(
vd
);
IDirectFBSurface
*
primary
=
sys
->
primary
;
if
(
primary
)
primary
->
Release
(
primary
);
IDirectFB
*
directfb
=
sys
->
directfb
;
if
(
directfb
)
directfb
->
Release
(
directfb
);
free
(
sys
);
}
...
...
@@ -272,17 +278,3 @@ static int OpenDisplay(vout_display_t *vd)
return
VLC_SUCCESS
;
}
static
void
CloseDisplay
(
vout_display_t
*
vd
)
{
vout_display_sys_t
*
sys
=
vd
->
sys
;
IDirectFBSurface
*
primary
=
sys
->
primary
;
if
(
primary
)
primary
->
Release
(
primary
);
IDirectFB
*
directfb
=
sys
->
directfb
;
if
(
directfb
)
directfb
->
Release
(
directfb
);
}
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