Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
deb3a851
Commit
deb3a851
authored
May 23, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix initialization order
parent
5f9ea661
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/video_filter/alphamask.c
modules/video_filter/alphamask.c
+4
-3
No files found.
modules/video_filter/alphamask.c
View file @
deb3a851
...
...
@@ -108,7 +108,8 @@ static int Create( vlc_object_t *p_this )
config_ChainParse
(
p_filter
,
CFG_PREFIX
,
ppsz_filter_options
,
p_filter
->
p_cfg
);
p_sys
->
p_mask
=
NULL
;
psz_string
=
var_CreateGetStringCommand
(
p_filter
,
CFG_PREFIX
"mask"
);
if
(
psz_string
&&
*
psz_string
)
{
LoadMask
(
p_filter
,
psz_string
);
...
...
@@ -116,11 +117,11 @@ static int Create( vlc_object_t *p_this )
msg_Err
(
p_filter
,
"Error while loading mask (%s)."
,
psz_string
);
}
else
p_sys
->
p_mask
=
NULL
;
free
(
psz_string
);
vlc_mutex_init
(
&
p_sys
->
mask_lock
);
psz_string
=
var_CreateGetStringCommand
(
p_filter
,
CFG_PREFIX
"mask"
);
var_AddCallback
(
p_filter
,
CFG_PREFIX
"mask"
,
MaskCallback
,
p_filter
);
p_filter
->
pf_video_filter
=
Filter
;
...
...
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