ges: pipeline: Avoid setting state before being constructed
authorThibault Saunier <tsaunier@igalia.com>
Wed, 5 Jul 2023 18:22:59 +0000 (14:22 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 10 Jul 2023 18:00:49 +0000 (19:00 +0100)
commit65896fd5346b10ec163d78b0b134663073b3e442
tree316fe9146c3436650dace0f47ab4fb849fc3ab5c
parente4206bbae84cb8352fff89c5f9cbc1df276961d0
ges: pipeline: Avoid setting state before being constructed

It means setting state which triggers traces for not constructed objects
which fails in rust tracers as object should have names in all traces.

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