gst/id3demux/gstid3demux.c: Don't return GST_FLOW_ERROR when pushing an event returns FALSE. We don't have enough gra...

Original commit message from CVS:
* gst/id3demux/gstid3demux.c: (gst_id3demux_chain):
Don't return GST_FLOW_ERROR when pushing an event returns FALSE. We
don't have enough granularity to convert that boolean into a
GstFlowReturn.
This commit is contained in:
Edward Hervey 2007-07-10 10:16:38 +00:00
parent 6feb5eb840
commit 4844ca4e25
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2007-07-10 Edward Hervey <bilboed@gmail.com>
* gst/id3demux/gstid3demux.c: (gst_id3demux_chain):
Don't return GST_FLOW_ERROR when pushing an event returns FALSE. We
don't have enough granularity to convert that boolean into a
GstFlowReturn.
2007-07-06 Michael Smith <msmith@fluendo.com>
* gst/law/alaw-decode.c: (alawdec_sink_setcaps),

View file

@ -646,10 +646,7 @@ gst_id3demux_chain (GstPad * pad, GstBuffer * buf)
/* Might need a new segment before the buffer */
if (id3demux->need_newseg) {
if (!gst_id3demux_send_new_segment (id3demux)) {
GST_DEBUG_OBJECT (id3demux, "Failed to send new segment event");
goto error;
}
gst_id3demux_send_new_segment (id3demux);
id3demux->need_newseg = FALSE;
}