mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
Small cleanup
Original commit message from CVS: Small cleanup
This commit is contained in:
parent
8d011c1f87
commit
687448e204
1 changed files with 5 additions and 3 deletions
|
@ -723,15 +723,17 @@ gboolean
|
|||
gst_scheduler_iterate (GstScheduler *sched)
|
||||
{
|
||||
GstSchedulerClass *sclass;
|
||||
gboolean res = FALSE;
|
||||
|
||||
g_return_val_if_fail (GST_IS_SCHEDULER (sched), FALSE);
|
||||
|
||||
sclass = GST_SCHEDULER_GET_CLASS (sched);
|
||||
|
||||
if (sclass->iterate)
|
||||
return sclass->iterate (sched);
|
||||
if (sclass->iterate) {
|
||||
res = sclass->iterate (sched);
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue