summaryrefslogtreecommitdiffstats
path: root/gst/flx/gstflxdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/flx/gstflxdec.c')
-rw-r--r--gst/flx/gstflxdec.c3
1 files changed, 2 insertions, 1 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);
}