dvbsrc: handle EINTR from poll

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693212
This commit is contained in:
Wim Taymans 2013-02-05 17:34:28 +01:00
parent 4513a48e8a
commit 9444776aff

View file

@ -944,6 +944,8 @@ gst_dvbsrc_read_device (GstDvbSrc * object, int size, GstBuffer ** buffer)
if (G_UNLIKELY (ret_val < 0)) {
if (errno == EBUSY)
goto stopped;
else if (errno == EINTR)
continue;
else
goto select_error;
} else if (G_UNLIKELY (ret_val == 0)) {