STOPPED -> FAILED
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 23 Oct 2005 09:57:59 +0000 (09:57 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 23 Oct 2005 09:57:59 +0000 (09:57 +0000)
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_loop):
* po/POTFILES.in:
STOPPED -> FAILED

ChangeLog
ext/ogg/gstoggdemux.c
po/POTFILES.in

index 64cb545..47c5941 100644 (file)
--- 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),
index 83d9c1a..6a6db3d 100644 (file)
@@ -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;
   }
index 51df53f..af5570e 100644 (file)
@@ -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