summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-10-23 09:57:59 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-10-23 09:57:59 +0000
commit5de80e59004777379a587c763cc3295ff420ecae (patch)
tree30582316b53659d8628a35519656fb545eb6f44b
parentc36509f8b8f4ac61a403ddd2da33524e410b9dfa (diff)
STOPPED -> FAILED
Original commit message from CVS: * ext/ogg/gstoggdemux.c: (gst_ogg_demux_loop): * po/POTFILES.in: STOPPED -> FAILED
-rw-r--r--ChangeLog6
-rw-r--r--ext/ogg/gstoggdemux.c6
-rw-r--r--po/POTFILES.in1
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 64cb5452e..47c59418a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * ext/ogg/gstoggdemux.c: (gst_ogg_demux_loop):
+ * po/POTFILES.in:
+ STOPPED -> FAILED
+
2005-10-21 Wim Taymans <wim@fluendo.com>
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c
index 83d9c1a8e..6a6db3d4e 100644
--- a/ext/ogg/gstoggdemux.c
+++ b/ext/ogg/gstoggdemux.c
@@ -25,6 +25,7 @@
#include <gst/gst.h>
#include <ogg/ogg.h>
#include <string.h>
+#include <gst/gst-i18n-plugin.h>
#define CHUNKSIZE (8500) /* this is out of vorbisfile */
@@ -2289,8 +2290,9 @@ pause:
gst_pad_pause_task (ogg->sinkpad);
if (GST_FLOW_IS_FATAL (ret)) {
gst_ogg_demux_send_event (ogg, gst_event_new_eos ());
- GST_ELEMENT_ERROR (ogg, STREAM, STOPPED,
- (NULL), ("stream stopped, reason %s", gst_flow_get_name (ret)));
+ GST_ELEMENT_ERROR (ogg, STREAM, FAILED,
+ (_("Internal data stream error.")),
+ ("stream stopped, reason %s", gst_flow_get_name (ret)));
}
return;
}
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 51df53f92..af5570edb 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,4 +2,5 @@ ext/alsa/gstalsamixertrack.c
ext/cdparanoia/gstcdparanoia.c
ext/gnomevfs/gstgnomevfssrc.c
ext/gnomevfs/gstgnomevfssink.c
+ext/ogg/gstoggdemux.c
gst/playback/gstplaybasebin.c