mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
yield from time to time
Original commit message from CVS: yield from time to time
This commit is contained in:
parent
c5df5242c2
commit
6d1b431627
1 changed files with 2 additions and 0 deletions
|
@ -479,6 +479,8 @@ gst_adder_loop (GstElement *element)
|
|||
GST_DEBUG (0, "pushing buf_out");
|
||||
gst_pad_push (adder->srcpad, buf_out);
|
||||
|
||||
/* give another element a chance to do something */
|
||||
gst_element_yield (element);
|
||||
} while (TRUE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue