summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-07-10 10:16:38 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-07-10 10:16:38 +0000
commit4844ca4e25e1580102bb8b41d87d3dc369eeb2bd (patch)
treeb26b8545915f2a983daeb17f897735deb9a436ae
parent6feb5eb84086f2369e0ad6112c32dc553408002c (diff)
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.
-rw-r--r--ChangeLog7
-rw-r--r--gst/id3demux/gstid3demux.c5
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f5771fe9..79e3b99b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
diff --git a/gst/id3demux/gstid3demux.c b/gst/id3demux/gstid3demux.c
index 0cf1de4a..2fb2c47e 100644
--- a/gst/id3demux/gstid3demux.c
+++ b/gst/id3demux/gstid3demux.c
@@ -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;
}