projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
043c629
)
gst-inspect: Make clang happy with our g_vprintf() wrapper
author
Sebastian Dröge
<sebastian@centricular.com>
Sat, 8 Feb 2014 15:42:55 +0000
(16:42 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Sat, 8 Feb 2014 15:42:55 +0000
(16:42 +0100)
tools/gst-inspect.c
patch
|
blob
|
history
diff --git
a/tools/gst-inspect.c
b/tools/gst-inspect.c
index
9b6d503
..
eeef7b4
100644
(file)
--- a/
tools/gst-inspect.c
+++ b/
tools/gst-inspect.c
@@
-40,6
+40,9
@@
static char *_name = NULL;
static int print_element_info (GstElementFactory * factory,
gboolean print_names);
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, ...)
{
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);
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);
name = gst_pad_get_name (pad);
if (gst_pad_get_direction (pad) == GST_PAD_SRC)
g_print (" SRC: '%s'", name);