mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
gst-inspect: Make clang happy with our g_vprintf() wrapper
This commit is contained in:
parent
043c629e72
commit
53d8460bfd
1 changed files with 3 additions and 2 deletions
|
@ -40,6 +40,9 @@ static char *_name = NULL;
|
|||
static int print_element_info (GstElementFactory * factory,
|
||||
gboolean print_names);
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
G_GNUC_PRINTF (1, 2)
|
||||
/* *INDENT-ON* */
|
||||
static void
|
||||
n_print (const char *format, ...)
|
||||
{
|
||||
|
@ -694,8 +697,6 @@ print_pad_info (GstElement * element)
|
|||
pad = GST_PAD (pads->data);
|
||||
pads = g_list_next (pads);
|
||||
|
||||
n_print ("");
|
||||
|
||||
name = gst_pad_get_name (pad);
|
||||
if (gst_pad_get_direction (pad) == GST_PAD_SRC)
|
||||
g_print (" SRC: '%s'", name);
|
||||
|
|
Loading…
Reference in a new issue