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
c0d70328
Commit
c0d70328
authored
Aug 31, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove no-op variable callback
parent
c279528f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
modules/visualization/visual/visual.c
modules/visualization/visual/visual.c
+0
-20
No files found.
modules/visualization/visual/visual.c
View file @
c0d70328
...
...
@@ -152,8 +152,6 @@ vlc_module_end ()
* Local prototypes
*****************************************************************************/
static
block_t
*
DoWork
(
filter_t
*
,
block_t
*
);
static
int
FilterCallback
(
vlc_object_t
*
,
char
const
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
static
const
struct
{
const
char
*
psz_name
;
...
...
@@ -205,7 +203,6 @@ static int Open( vlc_object_t *p_this )
/* Parse the effect list */
psz_parser
=
psz_effects
=
var_CreateGetString
(
p_filter
,
"effect-list"
);
var_AddCallback
(
p_filter
,
"effect-list"
,
FilterCallback
,
NULL
);
while
(
psz_parser
&&
*
psz_parser
!=
'\0'
)
{
...
...
@@ -398,20 +395,3 @@ static void Close( vlc_object_t *p_this )
free
(
p_sys
->
effect
);
free
(
p_filter
->
p_sys
);
}
/*****************************************************************************
* FilterCallback: called when changing the deinterlace method on the fly.
*****************************************************************************/
static
int
FilterCallback
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
{
VLC_UNUSED
(
psz_cmd
);
VLC_UNUSED
(
oldval
);
VLC_UNUSED
(
p_data
);
VLC_UNUSED
(
newval
);
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
/* restart this baby */
msg_Dbg
(
p_filter
,
"we should restart the visual filter"
);
return
VLC_SUCCESS
;
}
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