gstreamer/plugins/tracers/gstfactories.h
Olivier Crête a4a1782872 tracer: Add new tracer to list loaded elements and other features
This new tracer will list loaded elements and plugins. This should
make it easier to generate minimal builds of GStreamer.

This also traces other features such as typefind functions, device
providers and dynamic types.

The format of the output of gst-stats should match the parameters
expected by the meson based gst-build system.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/782>
2021-08-18 17:01:27 -04:00

47 lines
1.3 KiB
C

/* GStreamer
* Copyright (C) 2021 Collabora Ltd.
* @author: Olivier Crete <olivier.crete@collabora.com>
*
* gstfactories.h: A trace to log which plugin & factories are being used
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __GST_FACTORIES_TRACER_H__
#define __GST_FACTORIES_TRACER_H__
#include <gst/gst.h>
#include <gst/gsttracer.h>
G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE(GstFactoriesTracer, gst_factories_tracer, GST,
FACTORIES_TRACER, GstTracer)
/**
* GstFactoriesTracer:
*
* Opaque #GstFactoriesTracer data structure
*/
struct _GstFactoriesTracer {
GstTracer parent;
/*< private >*/
};
G_END_DECLS
#endif /* __GST_FACTORIES_TRACER_H__ */