From: David I. Lehn Date: Fri, 10 May 2002 08:10:14 +0000 (+0000) Subject: poor error checking, should do something better X-Git-Tag: BRANCH-RELEASE-0_4_0-ROOT~171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01f172bedcf7ca22be48c46fe0d39ce9b03be532;p=platform%2Fupstream%2Fgstreamer.git poor error checking, should do something better Original commit message from CVS: poor error checking, should do something better --- diff --git a/gst/gstpipeline.c b/gst/gstpipeline.c index fb08729..5a57c91 100644 --- a/gst/gstpipeline.c +++ b/gst/gstpipeline.c @@ -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); }