mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
pluginloader: Check errors on the proper fd
Most likely a copy-paste error from the block before. If we're going to check for error/closed on the write fd... do it on the write fd
This commit is contained in:
parent
9ac57ff58a
commit
59b2eb0d79
1 changed files with 1 additions and 1 deletions
|
@ -1011,7 +1011,7 @@ exchange_packets (GstPluginLoader * l)
|
||||||
|
|
||||||
if (l->tx_buf_read < l->tx_buf_write) {
|
if (l->tx_buf_read < l->tx_buf_write) {
|
||||||
if (gst_poll_fd_has_error (l->fdset, &l->fd_w) ||
|
if (gst_poll_fd_has_error (l->fdset, &l->fd_w) ||
|
||||||
gst_poll_fd_has_closed (l->fdset, &l->fd_r)) {
|
gst_poll_fd_has_closed (l->fdset, &l->fd_w)) {
|
||||||
GST_ERROR ("write fd %d closed/errored", l->fd_w.fd);
|
GST_ERROR ("write fd %d closed/errored", l->fd_w.fd);
|
||||||
goto fail_and_cleanup;
|
goto fail_and_cleanup;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue