splitmuxsrc: Convert part reader to a bin with a non-async bus
authorSebastian Dröge <sebastian@centricular.com>
Mon, 25 Nov 2024 12:25:52 +0000 (14:25 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 25 Nov 2024 17:01:07 +0000 (17:01 +0000)
commitf204d17ec9966a4cc1c4629e2dae0c97d95c55f9
treece595eac9100e84e52f0d0139beb7ce4cd1e2900
parentb311270d1d74863b6303f609ac1d2b0194877115
splitmuxsrc: Convert part reader to a bin with a non-async bus

A pipeline always has an async bus, which involves allocating an fd pair. As
splitmuxsrc only uses the bus' sync handler, this is not required and can easily
cause splitmuxsrc to exceed the fd limit for no good reason.

The other features of GstPipeline are also not needed here, e.g. clock selection.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7957>
subprojects/gst-plugins-good/gst/multifile/gstsplitmuxpartreader.c
subprojects/gst-plugins-good/gst/multifile/gstsplitmuxpartreader.h