display: drop VAProfileNone entries from debug messages.

This commit is contained in:
Gwenole Beauchesne 2012-08-01 18:30:27 +02:00
parent 8bd3070c51
commit 71e4936e5e

View file

@ -465,8 +465,14 @@ gst_vaapi_display_create(GstVaapiDisplay *display)
goto end;
GST_DEBUG("%d profiles", n);
for (i = 0; i < n; i++)
for (i = 0; i < n; i++) {
#if VA_CHECK_VERSION(0,34,0)
/* Introduced in VA/VPP API */
if (profiles[i] == VAProfileNone)
continue;
#endif
GST_DEBUG(" %s", string_of_VAProfile(profiles[i]));
}
priv->decoders = g_array_new(FALSE, FALSE, sizeof(GstVaapiConfig));
if (!priv->decoders)