GESTrack: set caps on the composition
authorEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 20 Apr 2010 10:50:34 +0000 (12:50 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 20 Apr 2010 11:47:07 +0000 (13:47 +0200)
This will allow them to be propagated to all objects contained within

ges/ges-track.c

index 3d5bc7975e42282ce618291f3e9bcd0ace87e103..fda90563b6fa8d4adeb7280d194b679a376403cb 100644 (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 ? */
 }