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:
03707d0
)
gst-play: Fix format string compiler warning
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 22 Sep 2014 07:40:01 +0000
(10:40 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 22 Sep 2014 07:40:01 +0000
(10:40 +0300)
gst-play.c:92:28: error: format string is not a string literal
[-Werror,-Wformat-nonliteral]
len = g_vasprintf (&str, format, args);
^~~~~~
tools/gst-play.c
patch
|
blob
|
history
diff --git
a/tools/gst-play.c
b/tools/gst-play.c
index
6bcf736
..
8c97103
100644
(file)
--- a/
tools/gst-play.c
+++ b/
tools/gst-play.c
@@
-77,6
+77,7
@@
static void play_about_to_finish (GstElement * playbin, gpointer user_data);
static void play_reset (GstPlay * play);
static void play_set_relative_volume (GstPlay * play, gdouble volume_step);
+G_GNUC_PRINTF (1, 2)
static void
gst_play_printf (const gchar * format, ...)
{