qtglrenderer.cc: Fix -Wformat-security warning

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/592>
This commit is contained in:
Raul Tambre 2020-05-15 06:07:25 +00:00
parent fbd4afc64c
commit 46bfb7d247

View file

@ -721,7 +721,7 @@ bool GstQuickRenderer::setQmlScene (const gchar * scene, GError ** error)
if (m_errorString != "") {
g_set_error (error, GST_RESOURCE_ERROR, GST_RESOURCE_ERROR_SETTINGS,
m_errorString.toUtf8());
"%s", m_errorString.toUtf8());
return FALSE;
}