ges: Avoid adding unnecessary converters for nested timelines
authorThibault Saunier <tsaunier@igalia.com>
Mon, 10 Feb 2020 21:05:38 +0000 (18:05 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 12 Feb 2020 20:50:37 +0000 (17:50 -0300)
commit0be8bc9d981ae390992fab4cb1755fd399eb3d17
treeab6d68c41e75591ffef15afd6687536f2ce5fee5
parentf30b7f05b5729fef47526664c3e0d4529c11ccbf
ges: Avoid adding unnecessary converters for nested timelines

Basically we know that if we are using mixing, compositor will be
able to do video conversion and scaling for us, so avoid adding those
usless elements.

This optimizes a lot caps negotiation for deeply nested timelines.
ges/ges-audio-source.c
ges/ges-internal.h
ges/ges-source.c
ges/ges-video-source.c
ges/ges-video-source.h
ges/ges-video-test-source.c
ges/ges-video-uri-source.c