vaapipostproc: tune up a couple of log messages

In order to reduce the noise, the query type log was downgrade from INFO to
DEBUG, and the shared display address log message is assigned to the object.
This commit is contained in:
Víctor Manuel Jáquez Leal 2015-04-29 12:39:50 +02:00
parent 97b768675a
commit 28b4fc4dd9

View file

@ -1252,11 +1252,12 @@ gst_vaapipostproc_query (GstBaseTransform * trans, GstPadDirection direction,
{
GstVaapiPostproc *const postproc = GST_VAAPIPOSTPROC (trans);
GST_INFO_OBJECT (trans, "query type `%s'", GST_QUERY_TYPE_NAME (query));
GST_DEBUG_OBJECT (trans, "query type `%s'", GST_QUERY_TYPE_NAME (query));
if (gst_vaapi_reply_to_query (query,
GST_VAAPI_PLUGIN_BASE_DISPLAY (postproc))) {
GST_DEBUG ("sharing display %p", GST_VAAPI_PLUGIN_BASE_DISPLAY (postproc));
GST_DEBUG_OBJECT (postproc, "sharing display %p",
GST_VAAPI_PLUGIN_BASE_DISPLAY (postproc));
return TRUE;
}