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
96d0ab7f
Commit
96d0ab7f
authored
Jul 18, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use picture helpers.
parent
20fa5b0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/gui/fbosd.c
modules/gui/fbosd.c
+3
-3
modules/gui/skins2/src/file_bitmap.cpp
modules/gui/skins2/src/file_bitmap.cpp
+1
-1
No files found.
modules/gui/fbosd.c
View file @
96d0ab7f
...
...
@@ -521,7 +521,7 @@ static void Destroy( vlc_object_t *p_this )
if
(
p_sys
->
p_image
)
image_HandlerDelete
(
p_sys
->
p_image
);
if
(
p_sys
->
p_overlay
)
p
_sys
->
p_overlay
->
pf_r
elease
(
p_sys
->
p_overlay
);
p
icture_R
elease
(
p_sys
->
p_overlay
);
free
(
p_sys
->
p_style
);
free
(
p_sys
);
...
...
@@ -1207,7 +1207,7 @@ static void Render( intf_thread_t *p_intf, struct fbosd_render_t *render )
{
RenderPicture
(
p_intf
,
render
->
i_x
,
render
->
i_y
,
p_pic
,
p_sys
->
p_overlay
);
p
_pic
->
pf_r
elease
(
p_pic
);
p
icture_R
elease
(
p_pic
);
}
}
else
if
(
render
->
i_type
==
FBOSD_RENDER_TEXT
)
...
...
@@ -1232,7 +1232,7 @@ static void Render( intf_thread_t *p_intf, struct fbosd_render_t *render )
{
RenderPicture
(
p_intf
,
render
->
i_x
,
render
->
i_y
,
p_text
,
p_sys
->
p_overlay
);
p
_text
->
pf_r
elease
(
p_text
);
p
icture_R
elease
(
p_text
);
}
#endif
}
...
...
modules/gui/skins2/src/file_bitmap.cpp
View file @
96d0ab7f
...
...
@@ -77,7 +77,7 @@ FileBitmap::FileBitmap( intf_thread_t *pIntf, image_handler_t *pImageHandler,
pSrc
+=
pPic
->
p
->
i_pitch
-
m_width
*
4
;
}
p
Pic
->
pf_r
elease
(
pPic
);
p
icture_R
elease
(
pPic
);
return
;
}
...
...
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