asset: Fix asset cache for CLips and TrackElement with same ID
authorThibault Saunier <tsaunier@igalia.com>
Wed, 21 Aug 2019 18:41:46 +0000 (14:41 -0400)
committerThibault Saunier <tsaunier@gnome.org>
Wed, 28 Aug 2019 13:51:02 +0000 (13:51 +0000)
commit8477a3236d9e25df6481c8c4a9f203b7e1af3538
treec20f328614808b54963f557b1a8bc148ad8043d8
parentdcae483bca42895910708480f0d91c9064b187f1
asset: Fix asset cache for CLips and TrackElement with same ID

We clearly uniquely identify assets by both their IDs and their
extractable type, and we should make sure that you can have a
TrackElement and a Clip with the same ID.

There is one exception in our implementation which is GESFormatter
because we treat their subclasses as 1 type with different IDs.
ges/ges-asset.c