ges-audio-track: Change contructor prototype.

We return an AudioTrack.
This commit is contained in:
Mathieu Duponchelle 2013-08-12 15:01:53 +02:00 committed by Thibault Saunier
parent 2e1e88fb22
commit dec80f3e4d
2 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -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_ */