diff options
Diffstat (limited to 'gst/avi')
-rw-r--r-- | gst/avi/gstavidemux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 862c03bc..424a6fb4 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -660,6 +660,10 @@ gst_avidemux_process_chunk (GstAviDemux *avi_demux, guint64 filepos, return gst_avidemux_handle_event (avi_demux); } + /* we are running in an infinite loop, we need to _yield + * from time to time */ + gst_element_yield (GST_ELEMENT (avi_demux)); + return TRUE; } |