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
3107779f
Commit
3107779f
authored
Mar 22, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mosaic: fix a dummy warning (and add a missing undef).
parent
e5e2bd38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/video_filter/mosaic.c
modules/video_filter/mosaic.c
+4
-2
No files found.
modules/video_filter/mosaic.c
View file @
3107779f
...
...
@@ -288,6 +288,7 @@ static int CreateFilter( vlc_object_t *p_this )
char
*
psz_offsets
;
int
i_index
;
vlc_value_t
val
;
int
i_command
;
/* The mosaic thread is more important than the decoder threads */
vlc_thread_set_priority
(
p_this
,
VLC_THREAD_PRIORITY_OUTPUT
);
...
...
@@ -310,8 +311,8 @@ static int CreateFilter( vlc_object_t *p_this )
p_filter
->
p_cfg
);
#define GET_VAR( name, min, max ) \
p_sys->i_##name = __MIN( max, __MAX( min,
\
var_CreateGetIntegerCommand( p_filter, CFG_PREFIX #name ) ) );
\
i_command = var_CreateGetIntegerCommand( p_filter, CFG_PREFIX #name );
\
p_sys->i_##name = __MIN( max, __MAX( min, i_command ) );
\
var_AddCallback( p_filter, CFG_PREFIX #name, MosaicCallback, p_sys );
GET_VAR
(
width
,
0
,
INT_MAX
);
...
...
@@ -330,6 +331,7 @@ static int CreateFilter( vlc_object_t *p_this )
GET_VAR
(
alpha
,
0
,
255
);
GET_VAR
(
position
,
0
,
2
);
GET_VAR
(
delay
,
100
,
INT_MAX
);
#undef GET_VAR
p_sys
->
i_delay
*=
1000
;
p_sys
->
b_ar
=
var_CreateGetBoolCommand
(
p_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