summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/esd/esdsink.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c
index c6c5be4d..abb0b9b0 100644
--- a/ext/esd/esdsink.c
+++ b/ext/esd/esdsink.c
@@ -296,7 +296,10 @@ gst_esdsink_chain (GstPad * pad, GstData * _data)
if (errno == EINTR) {
goto done;
}
- g_assert_not_reached ();
+ /* connection closed? */
+ GST_ELEMENT_ERROR (esdsink, RESOURCE, WRITE, (NULL),
+ ("communication with ESD failed"));
+ return;
}
to_write -= done;