mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
GESTrack: set caps on the composition
This will allow them to be propagated to all objects contained within
This commit is contained in:
parent
10be8697df
commit
e795bd056d
1 changed files with 1 additions and 0 deletions
|
@ -275,6 +275,7 @@ ges_track_set_caps (GESTrack * track, const GstCaps * caps)
|
||||||
gst_caps_unref (track->caps);
|
gst_caps_unref (track->caps);
|
||||||
track->caps = gst_caps_copy (caps);
|
track->caps = gst_caps_copy (caps);
|
||||||
|
|
||||||
|
g_object_set (track->composition, "caps", caps, NULL);
|
||||||
/* FIXME : update all trackobjects ? */
|
/* FIXME : update all trackobjects ? */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue