From 018fb3ab2f734e033ee6dbec31f4be400cbe4e2c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 23 Dec 2001 23:01:28 +0000 Subject: Fixed some leftover errors. Original commit message from CVS: Fixed some leftover errors. --- gst/flx/gstflxdec.c | 3 ++- 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); -- cgit v1.2.1