Insert a yield operation.

Original commit message from CVS:
Insert a yield operation.
This commit is contained in:
Wim Taymans 2001-12-24 01:52:33 +00:00
parent 86d20fdbb1
commit 5b3c1cf7a5

View file

@ -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;
}