summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);