GESTrack: set caps on the composition

This will allow them to be propagated to all objects contained within
This commit is contained in:
Edward Hervey 2010-04-20 12:50:34 +02:00
parent 10be8697df
commit e795bd056d

View file

@ -275,6 +275,7 @@ ges_track_set_caps (GESTrack * track, const GstCaps * caps)
gst_caps_unref (track->caps);
track->caps = gst_caps_copy (caps);
g_object_set (track->composition, "caps", caps, NULL);
/* FIXME : update all trackobjects ? */
}