mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
poor error checking, should do something better
Original commit message from CVS: poor error checking, should do something better
This commit is contained in:
parent
9151cbc830
commit
01f172bedc
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue