diff options
author | Edward Hervey <bilboed@bilboed.com> | 2013-09-28 08:40:42 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2013-09-28 08:42:44 +0200 |
commit | 3892e4dd611efca396aa2d5dd606ace625e0d315 (patch) | |
tree | 59239540b83c6bdecbed30ae1e9d4e2c5ca1ea63 | |
parent | a89d53dd32309e7f38ea4b5ef3af1e20f0d4166b (diff) |
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
-rw-r--r-- | gst/gstpluginloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstpluginloader.c b/gst/gstpluginloader.c index b1bdcea5d..d33dc6957 100644 --- a/gst/gstpluginloader.c +++ b/gst/gstpluginloader.c @@ -1011,7 +1011,7 @@ exchange_packets (GstPluginLoader * l) if (l->tx_buf_read < l->tx_buf_write) { 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); goto fail_and_cleanup; } |