Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d92c4331
Commit
d92c4331
authored
Feb 08, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msg: simplify msg_GenericVa() macro
parent
b20e1eda
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
include/vlc_messages.h
include/vlc_messages.h
+2
-1
modules/codec/x264.c
modules/codec/x264.c
+1
-1
modules/demux/mkv/matroska_segment_parse.cpp
modules/demux/mkv/matroska_segment_parse.cpp
+1
-1
modules/lua/vlc.h
modules/lua/vlc.h
+1
-1
src/interface/dialog.c
src/interface/dialog.c
+1
-1
No files found.
include/vlc_messages.h
View file @
d92c4331
...
...
@@ -66,7 +66,8 @@ VLC_API void vlc_Log(vlc_object_t *, int,
const
char
*
,
const
char
*
,
...)
VLC_FORMAT
(
4
,
5
);
VLC_API
void
vlc_vaLog
(
vlc_object_t
*
,
int
,
const
char
*
,
const
char
*
,
va_list
);
#define msg_GenericVa(a, b, c, d, e) vlc_vaLog(VLC_OBJECT(a), b, c, d, e)
#define msg_GenericVa(a, b, c, d) \
vlc_vaLog(VLC_OBJECT(a), b, MODULE_STRING, c, d)
#define msg_Info( p_this, ... ) \
vlc_Log( VLC_OBJECT(p_this), VLC_MSG_INFO, MODULE_STRING, __VA_ARGS__ )
...
...
modules/codec/x264.c
View file @
d92c4331
...
...
@@ -1471,7 +1471,7 @@ static void x264_log( void *data, int i_level, const char *psz, va_list args)
i_level
=
VLC_MSG_DBG
;
}
msg_GenericVa
(
p_enc
,
i_level
,
MODULE_STRING
,
psz
,
args
);
msg_GenericVa
(
p_enc
,
i_level
,
psz
,
args
);
};
/****************************************************************************
...
...
modules/demux/mkv/matroska_segment_parse.cpp
View file @
d92c4331
...
...
@@ -191,7 +191,7 @@ static void MkvTree( demux_t & demuxer, int i_level, const char *psz_format, ...
psz_foo2
[
4
*
i_level
]
=
'+'
;
psz_foo2
[
4
*
i_level
+
1
]
=
' '
;
strcpy
(
&
psz_foo2
[
4
*
i_level
+
2
],
psz_format
);
msg_GenericVa
(
&
demuxer
,
VLC_MSG_DBG
,
"mkv"
,
psz_foo2
,
args
);
msg_GenericVa
(
&
demuxer
,
VLC_MSG_DBG
,
psz_foo2
,
args
);
free
(
psz_foo2
);
va_end
(
args
);
}
...
...
modules/lua/vlc.h
View file @
d92c4331
...
...
@@ -80,7 +80,7 @@ static inline void lua_Dbg( vlc_object_t * p_this, const char * ppz_fmt, ... )
{
va_list
ap
;
va_start
(
ap
,
ppz_fmt
);
msg_GenericVa
(
p_this
,
VLC_MSG_DBG
,
MODULE_STRING
,
ppz_fmt
,
ap
);
msg_GenericVa
(
p_this
,
VLC_MSG_DBG
,
ppz_fmt
,
ap
);
va_end
(
ap
);
}
...
...
src/interface/dialog.c
View file @
d92c4331
...
...
@@ -114,7 +114,7 @@ void dialog_VFatal (vlc_object_t *obj, bool modal, const char *title,
if
(
provider
==
NULL
)
{
msg_Err
(
obj
,
"%s"
,
title
);
msg_GenericVa
(
obj
,
VLC_MSG_ERR
,
MODULE_STRING
,
fmt
,
ap
);
msg_GenericVa
(
obj
,
VLC_MSG_ERR
,
fmt
,
ap
);
return
;
}
...
...
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