plugins: reduce the noise of warnings
authorVictor Jaquez <vjaquez@igalia.com>
Mon, 22 Jun 2015 15:38:41 +0000 (17:38 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 4 Aug 2015 17:42:48 +0000 (19:42 +0200)
Those messagse should be attached to the object, also the lack of
caps is not an error, in particular in the case of JPEG encoding.

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=744042

gst/vaapi/gstvaapipluginbase.c

index 51a7a43..05b816c 100644 (file)
@@ -547,12 +547,12 @@ gst_vaapi_plugin_base_propose_allocation (GstVaapiPluginBase * plugin,
   /* ERRORS */
 error_no_caps:
   {
-    GST_ERROR ("no caps specified");
+    GST_INFO_OBJECT (plugin, "no caps specified");
     return FALSE;
   }
 error_pool_config:
   {
-    GST_ERROR ("failed to reset buffer pool config");
+    GST_ERROR_OBJECT (plugin, "failed to reset buffer pool config");
     return FALSE;
   }
 }