Commit 363a7b76 authored by Zaheer Abbas Merali's avatar Zaheer Abbas Merali

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.
parent ef7d946e
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>
* 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
;
if (attempts % 50 == 0) {
gst_buffer_unref (buf);
return NULL;
};
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment