Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
5d51dfe0
Commit
5d51dfe0
authored
May 01, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a segfault with osdmenu filter.
parent
af279394
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
modules/video_filter/osdmenu.c
modules/video_filter/osdmenu.c
+1
-14
No files found.
modules/video_filter/osdmenu.c
View file @
5d51dfe0
...
...
@@ -480,21 +480,8 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t i_date )
* when OSD menu should be hidden and menu picture is not allocated.
*/
if
(
!
p_filter
->
p_sys
->
p_menu
->
p_state
->
p_pic
||
(
p_filter
->
p_sys
->
b_visible
==
false
)
)
!
p_filter
->
p_sys
->
b_visible
)
{
/* Create new spu regions and allocate an empty picture in it. */
p_region
=
create_picture_region
(
p_filter
,
p_spu
,
p_filter
->
p_sys
->
p_menu
->
p_state
->
i_width
,
p_filter
->
p_sys
->
p_menu
->
p_state
->
i_height
,
NULL
);
/* proper positioning of OSD menu image */
p_region
->
i_x
=
p_filter
->
p_sys
->
p_menu
->
p_state
->
i_x
;
p_region
->
i_y
=
p_filter
->
p_sys
->
p_menu
->
p_state
->
i_y
;
/* FIXME is it needed ?
p_region->i_align = p_sys->i_position;
*/
p_spu
->
p_region
=
p_region
;
p_spu
->
i_alpha
=
0xFF
;
/* Picture is completely non transparent. */
return
p_spu
;
}
...
...
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