Commit dec80f3e authored by Mathieu Duponchelle's avatar Mathieu Duponchelle Committed by Thibault Saunier

ges-audio-track: Change contructor prototype.

We return an AudioTrack.
parent 2e1e88fb
......@@ -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,
......
......@@ -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_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment