mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
pluginloader: Always mark reception as complete after EXIT
Avoids waiting forever on gst_poll_wait when using the select backend. Fixes #637057
This commit is contained in:
parent
98900a43c1
commit
36d44b3e52
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue