mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
0ec400890c
Original commit message from CVS: initial checkin
17 lines
455 B
C
17 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)));
|
|
}
|