From 8458a745260cfeb51761d3b716b4250d5ac33054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 10 Oct 2007 17:01:51 +0000 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ gst-libs/gst/tag/gsttagdemux.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e3a0abc2d2..fec80092c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-10-10 Tim-Philipp Müller + + * 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 * gst-libs/gst/audio/gstbaseaudiosink.c: diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c index 814f176281..3d49b685ed 100644 --- a/gst-libs/gst/tag/gsttagdemux.c +++ b/gst-libs/gst/tag/gsttagdemux.c @@ -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; }