pipeline: Discard encoding profiles that don't match any track
authorThibault Saunier <tsaunier@igalia.com>
Fri, 3 Jul 2020 20:52:06 +0000 (16:52 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 30 Jul 2020 22:44:13 +0000 (18:44 -0400)
commit0b05bb6587789fccbe66aa776364c7aa275a4144
tree72c93d748b467d741d50a61362141509efb04ebc
parent834345b1c8d94fb9631d55be85c5ceb298439895
pipeline: Discard encoding profiles that don't match any track

Otherwise we get a 'not linked' error and we should just help
the user as we can here.

If the user adds a new track, he should set a new encoding profile
anyway.

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