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:
98900a4
)
pluginloader: Always mark reception as complete after EXIT
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Mon, 3 Jan 2011 19:32:23 +0000
(20:32 +0100)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Tue, 4 Jan 2011 13:45:40 +0000
(14:45 +0100)
Avoids waiting forever on gst_poll_wait when using the select
backend.
Fixes #637057
gst/gstpluginloader.c
patch
|
blob
|
history
diff --git
a/gst/gstpluginloader.c
b/gst/gstpluginloader.c
index 90f1d3dc6b89ad0d3f52ecbc3dc2777b8498aae1..f2313f3a2e2ac20651d3eb85a447d6f1a109b846 100644
(file)
--- a/
gst/gstpluginloader.c
+++ b/
gst/gstpluginloader.c
@@
-725,11
+725,10
@@
handle_rx_packet (GstPluginLoader * l,
case PACKET_EXIT:
gst_poll_fd_ctl_read (l->fdset, &l->fd_r, FALSE);
if (l->is_child) {
- /* Respond
, then we keep looping until the parent closes the fd
*/
+ /* Respond */
put_packet (l, PACKET_EXIT, 0, NULL, 0);
- } else {
- l->rx_done = TRUE; /* All done reading from child */
}
+ l->rx_done = TRUE;
return TRUE;
case PACKET_LOAD_PLUGIN:{
if (!l->is_child)