mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
display: drop VAProfileNone entries from debug messages.
This commit is contained in:
parent
8bd3070c51
commit
71e4936e5e
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue