encoding: Support more topologies in profile_from_discoverer()
authorThibault Saunier <tsaunier@igalia.com>
Fri, 24 Jul 2020 12:33:23 +0000 (08:33 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 31 Jul 2020 00:15:58 +0000 (00:15 +0000)
commit718122a9bfec81fb0002f456abaf6b3faec6a3d6
tree896aad3f577ddd5b21e1bd8fbca632716f46073d
parentc2b9be5c9455aa49c51d01fd21636275c20da449
encoding: Support more topologies in profile_from_discoverer()

Previous implementation was only working when the stream was inside a
container, this refactoring allows using virtually any stream as input.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/766>
gst-libs/gst/pbutils/encoding-profile.c