From: Sebastian Dröge Date: Mon, 22 Sep 2014 07:40:01 +0000 (+0300) Subject: gst-play: Fix format string compiler warning X-Git-Tag: 1.19.3~511^2~4322 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e14b0edd67d04fd020ba3157053c8fcb7838d2e;p=platform%2Fupstream%2Fgstreamer.git gst-play: Fix format string compiler warning gst-play.c:92:28: error: format string is not a string literal [-Werror,-Wformat-nonliteral] len = g_vasprintf (&str, format, args); ^~~~~~ --- diff --git a/tools/gst-play.c b/tools/gst-play.c index 6bcf736..8c97103 100644 --- 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, ...) {