mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-06 01:19:38 +00:00
18 lines
455 B
C
18 lines
455 B
C
|
#include <gst/gst.h>
|
||
|
|
||
|
int main(int argc,char *argv[]) {
|
||
|
GstElementFactory *parseau_factory;
|
||
|
GstElement *parseau;
|
||
|
|
||
|
gst_init(&argc,&argv);
|
||
|
|
||
|
gst_plugin_load_all();
|
||
|
|
||
|
parseau_factory = gst_plugin_find_elementfactory("parseau");
|
||
|
g_print("parseau_factory is %p\n",parseau_factory);
|
||
|
|
||
|
parseau = gst_elementfactory_create(parseau_factory,"parser");
|
||
|
g_print("got parseau '%s' from plugin!!!\n",
|
||
|
gst_object_get_name(GST_OBJECT(parseau)));
|
||
|
}
|