projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86d20fd
)
Insert a yield operation.
author
Wim Taymans
<wim.taymans@gmail.com>
Mon, 24 Dec 2001 01:52:33 +0000
(
01:52
+0000)
committer
Wim Taymans
<wim.taymans@gmail.com>
Mon, 24 Dec 2001 01:52:33 +0000
(
01:52
+0000)
Original commit message from CVS:
Insert a yield operation.
gst/avi/gstavidemux.c
patch
|
blob
|
history
diff --git
a/gst/avi/gstavidemux.c
b/gst/avi/gstavidemux.c
index
862c03b
..
424a6fb
100644
(file)
--- 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;
}