From d006b0680f9e1c6dde993efa56dafde61d51429f Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 23 Oct 2005 11:07:10 +0000 Subject: STOPPED->FAILED Original commit message from CVS: STOPPED->FAILED --- gst/wavparse/gstwavparse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gst') diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index 4bd772a3..cb0ab683 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -27,6 +27,7 @@ #include "gstwavparse.h" #include "gst/riff/riff-ids.h" #include "gst/riff/riff-media.h" +#include #ifndef G_MAXUINT32 #define G_MAXUINT32 0xffffffff @@ -1027,8 +1028,8 @@ pause: gst_pad_pause_task (wav->sinkpad); if (GST_FLOW_IS_FATAL (ret)) { /* for fatal errors we post an error message */ - GST_ELEMENT_ERROR (wav, STREAM, STOPPED, - ("streaming stopped, reason %s", gst_flow_get_name (ret)), + GST_ELEMENT_ERROR (wav, STREAM, FAILED, + (_("Internal data stream error.")), ("streaming stopped, reason %s", gst_flow_get_name (ret))); gst_pad_push_event (wav->srcpad, gst_event_new_eos ()); } -- cgit