summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-08-16 18:07:43 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-08-19 17:26:55 +0000
commit1c73dc969c3cfd12db724f908373d62fff242746 (patch)
tree0b61ecf7f513b58b832a65761f551bb3e9fd3653 /tests
parentf7c1ac036d11b1120664ce79cbdc7d311144fd41 (diff)
downloadgstreamer-vaapi-1c73dc969c3cfd12db724f908373d62fff242746.tar.gz
libs: profile: add gst_vaapi_profile_get_va_name()
gst_vaapi_profile_get_name() returns a proper name for GstCaps. Nonetheless, there are many profiles which don't have a name representation for that realm. gst_vaapi_profile_get_va_name() returns the name of the profile according to its VAProfile name. This new funtion is used in the encoder error message.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-display.c b/tests/test-display.c
index e189ab32..068c155a 100644
--- a/tests/test-display.c
+++ b/tests/test-display.c
@@ -84,7 +84,7 @@ print_profiles (GArray * profiles, const gchar * name)
if (!codec_name)
continue;
- profile_name = gst_vaapi_profile_get_name (profile);
+ profile_name = gst_vaapi_profile_get_va_name (profile);
if (!profile_name)
continue;