pipeline: stop setting the track caps
authorHenry Wilkes <hwilkes@igalia.com>
Mon, 13 Jan 2020 13:08:24 +0000 (13:08 +0000)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 30 Jul 2020 22:44:13 +0000 (18:44 -0400)
commitc2532a48c2b39cd6121fa2811c662fb84bab8552
tree3cfae8c546762cc4062dab89be2bf2cf24e65f5f
parent5bb0b468095f8f3b86ba70b75e8a5d63ee840737
pipeline: stop setting the track caps

Stop setting the track 'caps' property. The previous code could
overwrite a users own setting of the caps for video and audio caps.
Moreover, the 'caps' property is listed as construct only, and users
will likely expect it to stay the same after a track has been added to a
timeline.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/198>
ges/ges-internal.h
ges/ges-pipeline.c
ges/ges-track.c