mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
Insert a yield operation.
Original commit message from CVS: Insert a yield operation.
This commit is contained in:
parent
86d20fdbb1
commit
5b3c1cf7a5
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue