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:
9ac57ff
)
pluginloader: Check errors on the proper fd
author
Edward Hervey
<bilboed@bilboed.com>
Sat, 28 Sep 2013 06:40:42 +0000
(08:40 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Mon, 30 Sep 2013 08:34:42 +0000
(10:34 +0200)
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
gst/gstpluginloader.c
patch
|
blob
|
history
diff --git
a/gst/gstpluginloader.c
b/gst/gstpluginloader.c
index b1bdcea5d43ecf63419f2debc9eb79b9a7356c18..d33dc6957c9b3739fa61744565b4e5d5c2a659a0 100644
(file)
--- 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;
}