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);
                           ^~~~~~
This commit is contained in:
Sebastian Dröge 2014-09-22 10:40:01 +03:00
parent 03707d0162
commit 3e14b0edd6

View file

@ -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, ...)
{