mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
dvbsrc: handle EINTR from poll
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693212
This commit is contained in:
parent
4513a48e8a
commit
9444776aff
1 changed files with 2 additions and 0 deletions
|
@ -944,6 +944,8 @@ gst_dvbsrc_read_device (GstDvbSrc * object, int size, GstBuffer ** buffer)
|
||||||
if (G_UNLIKELY (ret_val < 0)) {
|
if (G_UNLIKELY (ret_val < 0)) {
|
||||||
if (errno == EBUSY)
|
if (errno == EBUSY)
|
||||||
goto stopped;
|
goto stopped;
|
||||||
|
else if (errno == EINTR)
|
||||||
|
continue;
|
||||||
else
|
else
|
||||||
goto select_error;
|
goto select_error;
|
||||||
} else if (G_UNLIKELY (ret_val == 0)) {
|
} else if (G_UNLIKELY (ret_val == 0)) {
|
||||||
|
|
Loading…
Reference in a new issue