mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 02:41:13 +00:00
stream_dvb: Increase timeout of streaming read.
It seems some DVB-T2 cards take longer to push out data.
This commit is contained in:
parent
66128dec82
commit
c8424a3bee
@ -747,7 +747,7 @@ static int dvb_streaming_read(stream_t *stream, char *buffer, int size)
|
||||
tries --;
|
||||
pfds[0].fd = fd;
|
||||
pfds[0].events = POLLIN | POLLPRI;
|
||||
if (poll(pfds, 1, 500) <= 0) {
|
||||
if (poll(pfds, 1, 2000) <= 0) {
|
||||
MP_ERR(stream, "dvb_streaming_read, failed with "
|
||||
"errno %d when reading %d bytes\n", errno, size - pos);
|
||||
errno = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user