gst/realmedia/rmdemux.c: Don't treat normal EOS as a fatal error.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_loop):
Don't treat normal EOS as a fatal error.
This commit is contained in:
Michael Smith 2005-11-28 18:54:09 +00:00
parent 254cf104d8
commit 2721e07f95
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-11-28 Michael Smith <msmith@fluendo.com>
* gst/realmedia/rmdemux.c: (gst_rmdemux_loop):
Don't treat normal EOS as a fatal error.
2005-11-28 Edward Hervey <edward@fluendo.com>
* ext/mad/gstmad.c: (gst_mad_chain):

View file

@ -877,9 +877,11 @@ need_pause:
if (GST_FLOW_IS_FATAL (ret)) {
gst_rmdemux_send_event (rmdemux, gst_event_new_eos ());
/* FIXME: add translations */
GST_ELEMENT_ERROR (rmdemux, STREAM, FAILED,
(("Internal data stream error.")),
("stream stopped, reason %d", ret));
if (ret != GST_FLOW_UNEXPECTED) {
GST_ELEMENT_ERROR (rmdemux, STREAM, FAILED,
(("Internal data stream error.")),
("stream stopped, reason %d", ret));
}
}
return;
}