mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
gst/gstelement.c: Use g_error_new_literal because error text may have percentage signs in it. Fixes #160019.
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst/gstelement.c: (gst_element_error_full): Use g_error_new_literal because error text may have percentage signs in it. Fixes #160019.
This commit is contained in:
parent
802e18724d
commit
6af3cb71c8
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-12-01 William Jon McCann <mccann@jhu.edu>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* 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 <otte@gnome.org>
|
||||
|
||||
* gst/elements/gstbufferstore.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)) {
|
||||
|
|
Loading…
Reference in a new issue