ges: preserve discovery order
authorMathieu Duponchelle <mathieu@centricular.com>
Sat, 22 Jan 2022 01:24:23 +0000 (02:24 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 2 Aug 2022 15:48:12 +0000 (15:48 +0000)
commit52f7150de4934136441b95791b92e843467acc31
treeda71d371e2e7ea43547f529ef89052366667bb59
parentb2c405253117d94a1f1df346c9ffaacfb33bb879
ges: preserve discovery order

The previous code was storing container children in reverse
addition order, this was mitigated by the fact that track elements
were also stored in reverse order, thus restoring the original
order, but it seems more consistent to preserve order throughout,
the extra cost of append operations is negligible.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1549>
subprojects/gst-editing-services/ges/ges-clip.c
subprojects/gst-editing-services/ges/ges-container.c
subprojects/gst-editing-services/ges/ges-uri-clip.c
subprojects/gst-editing-services/tests/check/ges/clip.c