diff --git a/ChangeLog b/ChangeLog index e95eeaa452..24321c9a8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-12-01 William Jon McCann + + Reviewed by: Ronald S. Bultje + + * gst/gstelement.c: (gst_element_error_full): + Use g_error_new_literal because error text may have + percentage signs in it. Fixes #160019. + 2004-12-01 Benjamin Otte * gst/elements/gstbufferstore.c: diff --git a/gst/gstelement.c b/gst/gstelement.c index 0d8c1b7f3d..65dbd6f98f 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -2547,7 +2547,7 @@ void gst_element_error_full /* create error message */ GST_CAT_INFO (GST_CAT_ERROR_SYSTEM, "signaling error in %s: %s", GST_ELEMENT_NAME (element), sent_message); - error = g_error_new (domain, code, sent_message); + error = g_error_new_literal (domain, code, sent_message); /* if the element was already in error, stop now */ if (GST_FLAG_IS_SET (element, GST_ELEMENT_IN_ERROR)) {