GstTypeFactory *type;
/* this filter needs the riff parser */
- if (!gst_library_load ("gstbytestream")) {
- gst_info("cdxaparse: could not load support library: 'gstbytestream'\n");
+ if (!gst_library_load ("gstbytestream"))
return FALSE;
- }
/* create an elementfactory for the cdxa_parse element */
factory = gst_element_factory_new ("cdxaparse", GST_TYPE_CDXA_PARSE,
GstTypeFactory *type;
/* this filter needs the bytestream package */
- if (!gst_library_load("gstbytestream")) {
- gst_info("flxdec:: could not load support library: 'gstbytestream'\n");
+ if (!gst_library_load ("gstbytestream"))
return FALSE;
- }
factory = gst_element_factory_new("flxdec", GST_TYPE_FLXDEC, &flxdec_details);
g_return_val_if_fail(factory != NULL, FALSE);
GstElementFactory *factory;
/* this filter needs the bytestream package */
- if (!gst_library_load("gstbytestream")) {
- gst_info("mixmatrix:: could not load support library: 'gstbytestream'\n");
+ if (!gst_library_load ("gstbytestream"))
return FALSE;
- }
- factory = gst_element_factory_new("mixmatrix", GST_TYPE_MIXMATRIX, &mixmatrix_details);
- g_return_val_if_fail(factory != NULL, FALSE);
+ factory = gst_element_factory_new ("mixmatrix", GST_TYPE_MIXMATRIX,
+ &mixmatrix_details);
+ g_return_val_if_fail (factory != NULL, FALSE);
- sinktempl = mixmatrix_sink_factory();
+ sinktempl = mixmatrix_sink_factory ();
gst_element_factory_add_pad_template (factory, sinktempl);
- srctempl = mixmatrix_src_factory();
+ srctempl = mixmatrix_src_factory ();
gst_element_factory_add_pad_template (factory, srctempl);
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
GstElementFactory *factory;
/* this filter needs the getbits functions */
- if (!gst_library_load("gstgetbits")) {
- gst_info("system_encode:: could not load support library: 'gstgetbits'\n");
+ if (!gst_library_load ("gstgetbits"))
return FALSE;
- }
/* create an elementfactory for the system_encode element */
- factory = gst_element_factory_new("system_encode",GST_TYPE_SYSTEM_ENCODE,
- &system_encode_details);
+ factory = gst_element_factory_new ("system_encode", GST_TYPE_SYSTEM_ENCODE,
+ &system_encode_details);
g_return_val_if_fail(factory != NULL, FALSE);
gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_factory));
GstElementFactory *factory;
GstTypeFactory *type;
- if (!gst_library_load("gstbytestream")) {
- gst_info("qtdemux: could not load support library 'gstbytestream'\n");
+ if (!gst_library_load ("gstbytestream"))
return FALSE;
- }
- factory = gst_element_factory_new("qtdemux",GST_TYPE_QTDEMUX,
- &gst_qtdemux_details);
+ factory = gst_element_factory_new ("qtdemux", GST_TYPE_QTDEMUX,
+ &gst_qtdemux_details);
g_return_val_if_fail(factory != NULL, FALSE);
gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_PRIMARY);