poor error checking, should do something better

Original commit message from CVS:
poor error checking, should do something better
This commit is contained in:
David I. Lehn 2002-05-10 08:10:14 +00:00
parent 9151cbc830
commit 01f172bedc

View file

@ -104,6 +104,8 @@ gst_pipeline_init (GstPipeline *pipeline)
/* get an instance of the default scheduler */
scheduler = gst_scheduler_factory_make (NULL, GST_ELEMENT (pipeline));
/* FIXME need better error handling */
g_return_if_fail (scheduler != NULL);
gst_scheduler_setup (scheduler);
}