typefindhelper: Introduce a new API for working with a GstTypeFind *
authorSanchayan Maity <sanchayan@asymptotic.io>
Mon, 31 Oct 2022 13:03:19 +0000 (18:33 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 15 Nov 2022 14:05:40 +0000 (14:05 +0000)
commit89da632219c89afd44a5fe532428b657dc812bba
treebeb8a6923bd008126662b8ddf0a7e3efba084f25
parent036b77b5190429a08ae441bb81bd4e20523e008e
typefindhelper: Introduce a new API for working with a GstTypeFind *

Introduce a new API that can return a GstTypeFind * with helper functions
and data set around buffer data.

While at it, drop factory field from GstTypeFindBufHelper. While it was
useful for logging, it was not passed through function arguments and keeping
it for logging would require an additional API increasing the API surface
and making it harder to use.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3296>
subprojects/gstreamer/libs/gst/base/gsttypefindhelper.c
subprojects/gstreamer/libs/gst/base/gsttypefindhelper.h