typefindelement: log probability in debug message

This commit is contained in:
Tim-Philipp Müller 2009-06-09 14:48:56 +01:00
parent 30bc0361f1
commit 480b92006d

View file

@ -162,7 +162,8 @@ gst_type_find_element_have_type (GstTypeFindElement * typefind,
{ {
g_assert (caps != NULL); g_assert (caps != NULL);
GST_INFO_OBJECT (typefind, "found caps %" GST_PTR_FORMAT, caps); GST_INFO_OBJECT (typefind, "found caps %" GST_PTR_FORMAT ", probability=%u",
caps, probability);
if (typefind->caps) if (typefind->caps)
gst_caps_unref (typefind->caps); gst_caps_unref (typefind->caps);
typefind->caps = gst_caps_copy (caps); typefind->caps = gst_caps_copy (caps);