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
ac0d798c
Commit
ac0d798c
authored
Jan 08, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
video_filter_ball: missing var_DelCallback + cosmetics.
parent
c7dfbd11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
modules/video_filter/ball.c
modules/video_filter/ball.c
+11
-2
No files found.
modules/video_filter/ball.c
View file @
ac0d798c
...
@@ -152,7 +152,7 @@ vlc_module_begin ()
...
@@ -152,7 +152,7 @@ vlc_module_begin ()
add_integer_with_range
(
FILTER_PREFIX
"gradient-threshold"
,
40
,
1
,
200
,
NULL
,
add_integer_with_range
(
FILTER_PREFIX
"gradient-threshold"
,
40
,
1
,
200
,
NULL
,
GRAD_THRESH_TEXT
,
GRAD_THRESH_LONGTEXT
,
false
)
GRAD_THRESH_TEXT
,
GRAD_THRESH_LONGTEXT
,
false
)
add_bool
(
FILTER_PREFIX
"edge-visible"
,
1
,
NULL
,
add_bool
(
FILTER_PREFIX
"edge-visible"
,
true
,
NULL
,
EDGE_VISIBLE_TEXT
,
EDGE_VISIBLE_LONGTEXT
,
true
)
EDGE_VISIBLE_TEXT
,
EDGE_VISIBLE_LONGTEXT
,
true
)
add_shortcut
(
"ball"
)
add_shortcut
(
"ball"
)
...
@@ -325,6 +325,15 @@ static void Destroy( vlc_object_t *p_this )
...
@@ -325,6 +325,15 @@ static void Destroy( vlc_object_t *p_this )
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
var_DelCallback
(
p_filter
,
FILTER_PREFIX
"ball-color"
,
ballCallback
,
p_sys
);
var_DelCallback
(
p_filter
,
FILTER_PREFIX
"ball-size"
,
ballCallback
,
p_sys
);
var_DelCallback
(
p_filter
,
FILTER_PREFIX
"ball-speed"
,
ballCallback
,
p_sys
);
var_DelCallback
(
p_filter
,
FILTER_PREFIX
"edge-visible"
,
ballCallback
,
p_sys
);
vlc_mutex_destroy
(
&
p_sys
->
lock
);
vlc_mutex_destroy
(
&
p_sys
->
lock
);
image_HandlerDelete
(
p_sys
->
p_image
);
image_HandlerDelete
(
p_sys
->
p_image
);
...
@@ -838,7 +847,7 @@ static int ballCallback( vlc_object_t *p_this, char const *psz_var,
...
@@ -838,7 +847,7 @@ static int ballCallback( vlc_object_t *p_this, char const *psz_var,
/*****************************************************************************
/*****************************************************************************
*
ballCallback
*
getBallColor
*****************************************************************************
*****************************************************************************
* Get and assign the ball color value
* Get and assign the ball color value
*****************************************************************************/
*****************************************************************************/
...
...
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