basesrc: use DEBUG instead of ERROR for logging
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 25 Jul 2011 10:49:24 +0000 (12:49 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 25 Jul 2011 10:49:24 +0000 (12:49 +0200)
Don't use the ERROR log category because the allocation failure migh only be
bacause of a state change.

libs/gst/base/gstbasesrc.c

index b752ccb..310fb6f 100644 (file)
@@ -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: