mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
sys/dvb/gstdvbsrc.c: With constant read failures, make sure we exit the read_device method.
Original commit message from CVS: * sys/dvb/gstdvbsrc.c: With constant read failures, make sure we exit the read_device method.
This commit is contained in:
parent
ef7d946e23
commit
363a7b761c
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-12-23 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||||
|
|
||||||
|
* sys/dvb/gstdvbsrc.c:
|
||||||
|
With constant read failures, make sure we exit the read_device
|
||||||
|
method.
|
||||||
|
|
||||||
2008-12-23 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
2008-12-23 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||||
|
|
||||||
* sys/dvb/gstdvbsrc.c:
|
* sys/dvb/gstdvbsrc.c:
|
||||||
|
|
|
@ -918,7 +918,10 @@ read_device (int fd, int adapter_number, int frontend_number, int size,
|
||||||
|
|
||||||
}
|
}
|
||||||
} else if (errno == -EINTR) { // poll interrupted
|
} else if (errno == -EINTR) { // poll interrupted
|
||||||
;
|
if (attempts % 50 == 0) {
|
||||||
|
gst_buffer_unref (buf);
|
||||||
|
return NULL;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue