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
aea8bd76
Commit
aea8bd76
authored
Jan 28, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
video_output: removes warnings about unused parameters in vlc callbacks
parent
795fb9bc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+7
-0
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+2
-1
No files found.
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,
...
@@ -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
,
static
int
SnapshotCallback
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
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_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
vout_Control
(
p_vout
,
VOUT_SNAPSHOT
);
vout_Control
(
p_vout
,
VOUT_SNAPSHOT
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
@@ -1205,6 +1207,8 @@ static int SnapshotCallback( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -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
,
static
int
TitleShowCallback
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
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
;
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
p_vout
->
b_title_show
=
newval
.
b_bool
;
p_vout
->
b_title_show
=
newval
.
b_bool
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
@@ -1213,6 +1217,7 @@ static int TitleShowCallback( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -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
,
static
int
TitleTimeoutCallback
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
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
;
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
p_vout
->
i_title_timeout
=
(
mtime_t
)
newval
.
i_int
;
p_vout
->
i_title_timeout
=
(
mtime_t
)
newval
.
i_int
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
@@ -1221,6 +1226,8 @@ static int TitleTimeoutCallback( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -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
,
static
int
TitlePositionCallback
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
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
;
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
p_vout
->
i_title_position
=
newval
.
i_int
;
p_vout
->
i_title_position
=
newval
.
i_int
;
return
VLC_SUCCESS
;
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 )
...
@@ -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
,
static
int
SubFilterCallback
(
vlc_object_t
*
p_object
,
char
const
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
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
;
spu_t
*
p_spu
=
(
spu_t
*
)
p_data
;
vlc_mutex_lock
(
&
p_spu
->
subpicture_lock
);
vlc_mutex_lock
(
&
p_spu
->
subpicture_lock
);
...
...
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