Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
aea8bd76
Commit
aea8bd76
authored
Jan 28, 2008
by
Rafaël Carré
Browse files
video_output: removes warnings about unused parameters in vlc callbacks
parent
795fb9bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/video_output/vout_intf.c
View file @
aea8bd76
...
...
@@ -1197,6 +1197,8 @@ static int FullscreenCallback( vlc_object_t *p_this, char const *psz_cmd,
static
int
SnapshotCallback
(
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
(
newval
);
VLC_UNUSED
(
p_data
);
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
vout_Control
(
p_vout
,
VOUT_SNAPSHOT
);
return
VLC_SUCCESS
;
...
...
@@ -1205,6 +1207,8 @@ static int SnapshotCallback( vlc_object_t *p_this, char const *psz_cmd,
static
int
TitleShowCallback
(
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
);
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
p_vout
->
b_title_show
=
newval
.
b_bool
;
return
VLC_SUCCESS
;
...
...
@@ -1213,6 +1217,7 @@ static int TitleShowCallback( vlc_object_t *p_this, char const *psz_cmd,
static
int
TitleTimeoutCallback
(
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
);
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
p_vout
->
i_title_timeout
=
(
mtime_t
)
newval
.
i_int
;
return
VLC_SUCCESS
;
...
...
@@ -1221,6 +1226,8 @@ static int TitleTimeoutCallback( vlc_object_t *p_this, char const *psz_cmd,
static
int
TitlePositionCallback
(
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
);
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
p_vout
->
i_title_position
=
newval
.
i_int
;
return
VLC_SUCCESS
;
...
...
src/video_output/vout_subpictures.c
View file @
aea8bd76
...
...
@@ -1393,7 +1393,8 @@ static void spu_del_video_buffer( filter_t *p_filter, picture_t *p_pic )
static
int
SubFilterCallback
(
vlc_object_t
*
p_object
,
char
const
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
{
(
void
)
p_object
;
(
void
)
oldval
;
(
void
)
newval
;
VLC_UNUSED
(
p_object
);
VLC_UNUSED
(
oldval
);
VLC_UNUSED
(
newval
);
VLC_UNUSED
(
psz_var
);
spu_t
*
p_spu
=
(
spu_t
*
)
p_data
;
vlc_mutex_lock
(
&
p_spu
->
subpicture_lock
);
...
...
Write
Preview
Supports
Markdown
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