diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2001-12-23 23:01:28 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2001-12-23 23:01:28 +0000 |
commit | 018fb3ab2f734e033ee6dbec31f4be400cbe4e2c (patch) | |
tree | 066351ae719516bd5e434ae142d4dcdeb173ff15 /gst | |
parent | 694779a8bb1c4c9dc8c938642cd014486ef6e98e (diff) | |
download | gst-plugins-bad-018fb3ab2f734e033ee6dbec31f4be400cbe4e2c.tar.gz gst-plugins-bad-018fb3ab2f734e033ee6dbec31f4be400cbe4e2c.tar.bz2 gst-plugins-bad-018fb3ab2f734e033ee6dbec31f4be400cbe4e2c.zip |
Fixed some leftover errors.
Original commit message from CVS:
Fixed some leftover errors.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/flx/gstflxdec.c | 3 | ||||
-rw-r--r-- | gst/speed/filter.func | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index d6052bb6..211ab476 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -580,8 +580,9 @@ gst_flxdec_loop (GstElement *element) // destroy header buffer gst_buffer_unref(databuf); + gst_element_yield (element); } - while (!GST_ELEMENT_IS_COTHREAD_STOPPING (element)); + while (TRUE); } diff --git a/gst/speed/filter.func b/gst/speed/filter.func index 89429528..8d8a911b 100644 --- a/gst/speed/filter.func +++ b/gst/speed/filter.func @@ -63,4 +63,6 @@ } gst_pad_push(filter->srcpad, out); - } while (!GST_ELEMENT_IS_COTHREAD_STOPPING (element)); + + gst_element_yield (element); + } while (TRUE); |