dvbsrc: pass the reason for failed read as GstFlowReturn
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 20 Apr 2012 13:05:36 +0000 (15:05 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 20 Apr 2012 13:17:56 +0000 (15:17 +0200)
commita8af5334eb8cad352b0ffa7901a0222082e9227b
tree8cedeabb4e0bcd8c1d0954c92478c93a3549e1a6
parent06b62e00ae075d07f6a0f669e2db63d2e6362e61
dvbsrc: pass the reason for failed read as GstFlowReturn

Make the _read_device function return a GstFlowReturn so that we can propagate
this to the caller. This allows us to differentiate between poll errors and
flushing state.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674219
sys/dvb/gstdvbsrc.c