mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
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:
parent
616ffbddd3
commit
7431789249
3 changed files with 11 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue