summaryrefslogtreecommitdiffstats
path: root/gst/id3demux
diff options
context:
space:
mode:
Diffstat (limited to 'gst/id3demux')
-rw-r--r--gst/id3demux/gstid3demux.c5
1 files changed, 1 insertions, 4 deletions
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;
}