19 #include "../QGlib/error.h"
20 #include <gst/gstparse.h>
28 GstElement *e = gst_parse_launch_full(description, NULL, GST_PARSE_FLAG_FATAL_ERRORS, &error);
33 gst_object_ref_sink(e);
41 GstElement *e = gst_parse_launchv_full(argv, NULL, GST_PARSE_FLAG_FATAL_ERRORS, &error);
46 gst_object_ref_sink(e);
Wrappers for GStreamer classes.
static RefPointer< Element > wrap(typename Element::CType *nativePtr, bool increaseRef=true)
ElementPtr launch(const char *description)
Wrapper class for GError.