qtmux: fix compile error

gst/qtmux/gstqtmoovrecover.c:268: warning: format not a string literal and no format arguments

https://bugzilla.gnome.org/show_bug.cgi?id=612454
This commit is contained in:
Rob Clark 2010-03-10 10:23:23 -06:00 committed by Edward Hervey
parent 46d93cbaef
commit 71d0e513fa

View file

@ -265,7 +265,7 @@ gst_qt_moov_recover_run (void *data)
end:
GST_LOG_OBJECT (qtmr, "Finalizing task");
if (err) {
GST_ELEMENT_ERROR (qtmr, RESOURCE, FAILED, (err->message), NULL);
GST_ELEMENT_ERROR (qtmr, RESOURCE, FAILED, ("%s", err->message), NULL);
g_error_free (err);
}