mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
ges-audio-track: Change contructor prototype.
We return an AudioTrack.
This commit is contained in:
parent
2e1e88fb22
commit
dec80f3e4d
2 changed files with 3 additions and 3 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Reference in a new issue