gst-libs/gst/tag/gsttagdemux.c: Don't error out when a buggy downstream element doesn't handle the newsegment event w...

Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c:
Don't error out when a buggy downstream element doesn't
handle the newsegment event we send properly (especially
not without posting a meaningful error message on the
bus). See bug #471370 and launchpad bug #136264.
This commit is contained in:
Tim-Philipp Müller 2007-10-10 17:01:51 +00:00
parent 02f280a9a0
commit 8458a74526
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/tag/gsttagdemux.c:
Don't error out when a buggy downstream element doesn't
handle the newsegment event we send properly (especially
not without posting a meaningful error message on the
bus). See bug #471370 and launchpad bug #136264.
2007-10-10 Wim Taymans <wim.taymans@gmail.com>
* gst-libs/gst/audio/gstbaseaudiosink.c:

View file

@ -669,8 +669,8 @@ gst_tag_demux_chain (GstPad * pad, GstBuffer * buf)
/* Might need a new segment before the buffer */
if (demux->priv->need_newseg) {
if (!gst_tag_demux_send_new_segment (demux)) {
GST_DEBUG_OBJECT (demux, "Failed to send new segment event");
goto error;
GST_WARNING_OBJECT (demux, "Downstream did not handle newsegment "
"event as it should");
}
demux->priv->need_newseg = FALSE;
}