gstreamer/examples/static-plugins/main.c
Xavier Claessens 315c5f87e2 gst-full: Create 'alpha' element
It is the only plugin built by the CI, with coreelements.
2020-03-16 21:53:29 -04:00

22 lines
379 B
C

#include <gst/gst.h>
#include <gst/gstinitstaticplugins.h>
int
main (int argc, char *argv[])
{
GstElement *e;
gst_init (&argc, &argv);
gst_init_static_plugins ();
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;
}