mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 14:11:15 +00:00
4dc93ef130
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>
19 lines
311 B
C
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;
|
|
}
|