GNOME Bugzilla – Bug 462752
make gst_element_class_set_details_simple args const
Last modified: 2007-08-02 12:07:50 UTC
If you're doing another pre-release anyway, please let's fix up the API for gst_element_class_set_details_simple() and make the arguments passed to it const. This was API newly added for 0.10.14.
Created attachment 92911 [details] [review] make arguments to gst_element_class_set_details_simple() constant
I've tried that once too. The resulting code was no different if I recall right, but seems to be more clear API wise. SO +1 from my side.
go for it then. Best to fix API before it's released :)
2007-08-02 Tim-Philipp Müller <tim at centricular dot net> * gst/gstelement.c: (gst_element_class_set_details_simple): * gst/gstelement.h: Make strings passed to gst_element_class_set_details_simple() constant, as they should be (#462752).