From: Wim Taymans Date: Mon, 25 Jul 2011 10:49:24 +0000 (+0200) Subject: basesrc: use DEBUG instead of ERROR for logging X-Git-Tag: RELEASE-0.11.0~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c887dd41f82bff347bc3713fea18bc05d48feaab;p=platform%2Fupstream%2Fgstreamer.git basesrc: use DEBUG instead of ERROR for logging Don't use the ERROR log category because the allocation failure migh only be bacause of a state change. --- diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c index b752ccb..310fb6f 100644 --- a/libs/gst/base/gstbasesrc.c +++ b/libs/gst/base/gstbasesrc.c @@ -1313,7 +1313,7 @@ no_function: } alloc_failed: { - GST_ERROR_OBJECT (src, "Failed to allocate %u bytes", size); + GST_DEBUG_OBJECT (src, "Failed to allocate buffer", size); return ret; } not_ok: