gst-libs/gst/audio/gstaudioclock.*: Make gst_audio_clock_new use const gchar* to ease the wrapping of

Original commit message from CVS:
Patch by: José Alburquerque <jaalburqu svn gnome org>
* gst-libs/gst/audio/gstaudioclock.c: (gst_audio_clock_new):
* gst-libs/gst/audio/gstaudioclock.h:
Make gst_audio_clock_new use const gchar* to ease the wrapping of
C++ bindings. Fixes #566723.
This commit is contained in:
José Alburquerque 2009-01-06 17:30:31 +00:00 committed by Wim Taymans
parent 616ffbddd3
commit 7431789249
3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,12 @@
2009-01-06 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: José Alburquerque <jaalburqu svn gnome org>
* gst-libs/gst/audio/gstaudioclock.c: (gst_audio_clock_new):
* gst-libs/gst/audio/gstaudioclock.h:
Make gst_audio_clock_new use const gchar* to ease the wrapping of
C++ bindings. Fixes #566723.
2009-01-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* configure.ac:

View file

@ -111,7 +111,7 @@ gst_audio_clock_init (GstAudioClock * clock)
* Returns: a new #GstAudioClock casted to a #GstClock.
*/
GstClock *
gst_audio_clock_new (gchar * name, GstAudioClockGetTimeFunc func,
gst_audio_clock_new (const gchar * name, GstAudioClockGetTimeFunc func,
gpointer user_data)
{
GstAudioClock *aclock =

View file

@ -88,7 +88,7 @@ struct _GstAudioClockClass {
};
GType gst_audio_clock_get_type (void);
GstClock* gst_audio_clock_new (gchar *name, GstAudioClockGetTimeFunc func,
GstClock* gst_audio_clock_new (const gchar *name, GstAudioClockGetTimeFunc func,
gpointer user_data);
void gst_audio_clock_reset (GstAudioClock *clock, GstClockTime time);