From: José Alburquerque Date: Tue, 6 Jan 2009 17:30:31 +0000 (+0000) Subject: gst-libs/gst/audio/gstaudioclock.*: Make gst_audio_clock_new use const gchar* to... X-Git-Tag: 1.19.3~511^2~10101 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=743178924980c254b551042eb22da9df5e6d230d;p=platform%2Fupstream%2Fgstreamer.git 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 * 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. --- diff --git a/ChangeLog b/ChangeLog index 4591521..eb8115b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-01-06 Wim Taymans + + Patch by: José Alburquerque + + * 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 * configure.ac: diff --git a/gst-libs/gst/audio/gstaudioclock.c b/gst-libs/gst/audio/gstaudioclock.c index 557df4b..d23cfab 100644 --- a/gst-libs/gst/audio/gstaudioclock.c +++ b/gst-libs/gst/audio/gstaudioclock.c @@ -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 = diff --git a/gst-libs/gst/audio/gstaudioclock.h b/gst-libs/gst/audio/gstaudioclock.h index e0f0d52..0613a14 100644 --- a/gst-libs/gst/audio/gstaudioclock.h +++ b/gst-libs/gst/audio/gstaudioclock.h @@ -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);