gstreamer/examples/static-plugins/main.c
Xavier Claessens 4dc93ef130 gst-full: Remove gstinitstaticplugins.h
That header is not needed any more because gst_init() now calls
gst_init_static_plugins() automatically when available.

This is an API break compared to 1.18, but release notes made it clear
it was an experimental feature.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/191>
2020-10-05 17:17:46 -04:00

19 lines
311 B
C

#include <gst/gst.h>
int
main (int argc, char *argv[])
{
GstElement *e;
gst_init (&argc, &argv);
e = gst_element_factory_make ("identity", NULL);
g_assert_nonnull (e);
g_object_unref (e);
e = gst_element_factory_make ("alpha", NULL);
g_assert_nonnull (e);
g_object_unref (e);
return 0;
}