summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2001-12-23 23:01:28 +0000
committerWim Taymans <wim.taymans@gmail.com>2001-12-23 23:01:28 +0000
commit018fb3ab2f734e033ee6dbec31f4be400cbe4e2c (patch)
tree066351ae719516bd5e434ae142d4dcdeb173ff15 /gst
parent694779a8bb1c4c9dc8c938642cd014486ef6e98e (diff)
downloadgst-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.c3
-rw-r--r--gst/speed/filter.func4
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);