GStreamer - Part 5

Page 10

An Example Application Code

va_end (args);

return res;

}

Make sure you have added your elements to a bin or pipeline with

gst_bin_add() before trying to link them.

gboolean

gst_element_link (GstElement * src, GstElement * dest)

{

return gst_element_link_pads (src, NULL, dest, NULL);

}

gst_element_link_pads_full (GstElement * src, const gchar * srcpadname,

 

GstElement * dest, const gchar * destpadname, GstPadLinkCheck flags) {

const GList *srcpads, *destpads, *srctempls, *desttempls, *l;

GstPad *srcpad, *destpad;

GstPadTemplate *srctempl, *desttempl;

GstElementClass *srcclass, *destclass;

checks

g_return_val_if_fail (GST_IS_ELEMENT (src), FALSE);

g_return_val_if_fail (GST_IS_ELEMENT (dest), FALSE);

10


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.