GstTypeFactory *type;
/* this filter needs the riff parser */
- if (!gst_library_load ("gstbytestream")) {
- gst_info("avidemux: could not load support library: 'gstbytestream'\n");
+ if (!gst_library_load ("gstbytestream"))
return FALSE;
- }
- if (!gst_library_load ("gstriff")) {
- gst_info("avidemux: could not load support library: 'gstriff'\n");
+ if (!gst_library_load ("gstriff"))
return FALSE;
- }
/* create an elementfactory for the avi_demux element */
- factory = gst_element_factory_new ("avidemux",GST_TYPE_AVI_DEMUX,
- &gst_avi_demux_details);
+ factory = gst_element_factory_new ("avidemux", GST_TYPE_AVI_DEMUX,
+ &gst_avi_demux_details);
g_return_val_if_fail (factory != NULL, FALSE);
gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_PRIMARY);
/* this filter needs the riff parser */
#if 0
- if (!gst_library_load ("gstriff")) {
- gst_info ("avimux: could not load support library: 'gstriff'\n");
+ if (!gst_library_load ("gstriff"))
return FALSE;
- }
#endif
/* create an elementfactory for the avimux element */
factory = gst_element_factory_new ("avimux", GST_TYPE_AVIMUX,
- &gst_avimux_details);
+ &gst_avimux_details);
g_return_val_if_fail (factory != NULL, FALSE);
gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_factory));
/* load audio support library */
if (!gst_library_load ("gstaudio"))
- {
- gst_info ("cutter: could not load support library: 'gstaudio'\n");
return FALSE;
- }
return TRUE;
}
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;
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);