have timeline title source create audio title sources

This commit is contained in:
Brandon Lewis 2010-06-16 13:21:19 +02:00 committed by Edward Hervey
parent 7da9439668
commit 1c27454a80

View file

@ -31,7 +31,7 @@
#include "ges-timeline-source.h"
#include "ges-track-object.h"
#include "ges-track-video-title-source.h"
//#include "ges-track-audio-title-source.h"
#include "ges-track-audio-title-source.h"
#include <string.h>
G_DEFINE_TYPE (GESTimelineTitleSource, ges_tl_title_src,
@ -203,13 +203,12 @@ ges_tl_title_src_create_track_object (GESTimelineObject * obj, GESTrack * track)
ges_track_video_title_source_set_text (
(GESTrackVideoTitleSource *) res, tfs->text);
}
#if 0
else if (track->type == GES_TRACK_TYPE_AUDIO) {
res = (GESTrackObject *) ges_track_audio_title_source_new ();
if (tfs->mute)
ges_track_object_set_active (res, FALSE);
}
#endif
else {
res = GES_TRACK_OBJECT (ges_track_title_source_new ());