inputselector: fix build with debug cached buffers enabled
authorThiago Santos <ts.santos@sisa.samsung.com>
Thu, 3 Apr 2014 21:17:03 +0000 (18:17 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Thu, 3 Apr 2014 21:17:03 +0000 (18:17 -0300)
gstinputselector.c:818:5: error: format not a string literal
and no format arguments [-Werror=format-security]

plugins/elements/gstinputselector.c

index 9929b95..8fd9e59 100644 (file)
@@ -812,7 +812,7 @@ gst_input_selector_debug_cached_buffers (GstInputSelector * sel)
           GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (cached_buffer->buffer)));
     }
     str = g_string_free (timestamps, FALSE);
-    GST_DEBUG_OBJECT (selpad, str);
+    GST_DEBUG_OBJECT (selpad, "%s", str);
     g_free (str);
   }
 }