From: Mathieu Duponchelle Date: Mon, 12 Aug 2013 13:01:53 +0000 (+0200) Subject: ges-audio-track: Change contructor prototype. X-Git-Tag: 1.19.3~493^2~1757 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dec80f3e4dc11d4811a46bb53f440ba69078bd2c;p=platform%2Fupstream%2Fgstreamer.git ges-audio-track: Change contructor prototype. We return an AudioTrack. --- diff --git a/ges/ges-audio-track.c b/ges/ges-audio-track.c index c63d6dfdce..87a60ab508 100644 --- a/ges/ges-audio-track.c +++ b/ges/ges-audio-track.c @@ -93,10 +93,10 @@ ges_audio_track_class_init (GESAudioTrackClass * klass) * * Returns: A new #GESTrack */ -GESVideoTrack * +GESAudioTrack * ges_audio_track_new (void) { - GESVideoTrack *ret; + GESAudioTrack *ret; GstCaps *caps = gst_caps_from_string (DEFAULT_CAPS); ret = g_object_new (GES_TYPE_AUDIO_TRACK, "caps", caps, diff --git a/ges/ges-audio-track.h b/ges/ges-audio-track.h index 3b920de374..ab9afb426d 100644 --- a/ges/ges-audio-track.h +++ b/ges/ges-audio-track.h @@ -55,7 +55,7 @@ struct _GESAudioTrack }; GType ges_audio_track_get_type (void) G_GNUC_CONST; -GESVideoTrack* ges_audio_track_new (void); +GESAudioTrack* ges_audio_track_new (void); G_END_DECLS #endif /* _GES_AUDIO_TRACK_H_ */