After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533490 - gst_message_new_warning() should take const gchar*
gst_message_new_warning() should take const gchar*
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-16 20:39 UTC by Murray Cumming
Modified: 2008-05-17 13:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Murray Cumming 2008-05-16 20:39:05 UTC
The gchar* debug parameter of gst_message_new_warning should be const gchar*:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#gst-message-new-warning 

Likewise for gst_message_new_error() and gst_message_new_info()
Comment 1 Tim-Philipp Müller 2008-05-17 11:27:27 UTC
You're right, we should fix these.
Comment 2 Sebastian Dröge (slomo) 2008-05-17 13:54:11 UTC
2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>

        * gst/gstmessage.c: (gst_message_new_error),
        (gst_message_new_warning), (gst_message_new_info):
        * gst/gstmessage.h:
        Mark the debug string parameters as const. Fixes bug #533490.