From 63d2359147f38f65f2f92522ffb0db0f064cb924 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 14 May 2004 19:26:35 +0000 Subject: ext/esd/esdsink.c: Fix crash when ESD is killed while we're playing. Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_chain): Fix crash when ESD is killed while we're playing. * gst/qtdemux/qtdemux.c: (qtdemux_parse): call gst_element_no_more_pads(). --- ext/esd/esdsink.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext') 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; -- cgit