summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/stream_dvb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c
index 66c762a75e..419f371204 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -621,6 +621,10 @@ static int dvb_streaming_read(stream_t *stream, char *buffer, int size)
if ((rk = read(fd, &buffer[pos], rk)) > 0) {
pos += rk;
MP_TRACE(stream, "ret (%d) bytes\n", pos);
+ } else {
+ MP_ERR(stream, "dvb_streaming_read, poll ok but read failed with "
+ "errno %d when reading %d bytes, size: %d, pos: %d\n",
+ errno, size - pos, size, pos);
}
}