pipeline: don't link tracks unnecessarily
authorHenry Wilkes <hwilkes@igalia.com>
Thu, 5 Mar 2020 19:00:20 +0000 (19:00 +0000)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 5 Mar 2020 20:04:51 +0000 (17:04 -0300)
commit1cc5221d49965b197b30f58e0ad9715b910675c0
tree6c99bd326283f996334c1ef8a3de4afd7f1c0c54
parent7f65b7be0c48fcd603620ad456d9885e1c0d7fa1
pipeline: don't link tracks unnecessarily

Unless the pipeline is in certain modes, we do not want to try and link
every track. The previous debug message implied this, but the method did
not actually end early.
Also, we always end early if we receive a track that is neither video
nor audio.
ges/ges-pipeline.c