diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-10-23 11:07:10 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-10-23 11:07:10 +0000 |
commit | d006b0680f9e1c6dde993efa56dafde61d51429f (patch) | |
tree | 874f117293ef6bc312851b83b30e506da58939b6 /gst/wavparse | |
parent | 512eb8ab25fd06d9442a8d9a72a6b172551afddb (diff) |
STOPPED->FAILED
Original commit message from CVS:
STOPPED->FAILED
Diffstat (limited to 'gst/wavparse')
-rw-r--r-- | gst/wavparse/gstwavparse.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <gst/gst-i18n-plugin.h> #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 ()); } |