From 743178924980c254b551042eb22da9df5e6d230d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Alburquerque?= Date: Tue, 6 Jan 2009 17:30:31 +0000 Subject: [PATCH] gst-libs/gst/audio/gstaudioclock.*: Make gst_audio_clock_new use const gchar* to ease the wrapping of MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- ChangeLog | 9 +++++++++ gst-libs/gst/audio/gstaudioclock.c | 2 +- gst-libs/gst/audio/gstaudioclock.h | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4591521419..eb8115b978 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 557df4b5f5..d23cfab018 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 e0f0d524fc..0613a14ec8 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);