From: Sebastian Dröge Date: Wed, 30 Sep 2015 17:05:35 +0000 (+0200) Subject: aggregator: Convert GST_ERROR_OBJECT() for seek events to GST_DEBUG_OBJECT() X-Git-Tag: accepted/tizen/unified/20220217.153506~2^2~10^2~9^2~12^2~2^2~228^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86f6b83d7f4146baa6b92a8f7353e4a2d6daa746;p=platform%2Fupstream%2Fgstreamer.git aggregator: Convert GST_ERROR_OBJECT() for seek events to GST_DEBUG_OBJECT() --- diff --git a/gst-libs/gst/base/gstaggregator.c b/gst-libs/gst/base/gstaggregator.c index 889f157..1416f6c 100644 --- a/gst-libs/gst/base/gstaggregator.c +++ b/gst-libs/gst/base/gstaggregator.c @@ -1560,12 +1560,11 @@ gst_aggregator_event_forward_func (GstPad * pad, gpointer user_data) } if (ret == FALSE) { - if (GST_EVENT_TYPE (evdata->event) == GST_EVENT_SEEK) - GST_ERROR_OBJECT (pad, "Event %" GST_PTR_FORMAT " failed", evdata->event); - if (GST_EVENT_TYPE (evdata->event) == GST_EVENT_SEEK) { GstQuery *seeking = gst_query_new_seeking (GST_FORMAT_TIME); + GST_DEBUG_OBJECT (pad, "Event %" GST_PTR_FORMAT " failed", evdata->event); + if (gst_pad_query (peer, seeking)) { gboolean seekable;