diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2019-08-16 18:07:43 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2019-08-19 17:26:55 +0000 |
commit | 1c73dc969c3cfd12db724f908373d62fff242746 (patch) | |
tree | 0b61ecf7f513b58b832a65761f551bb3e9fd3653 /tests | |
parent | f7c1ac036d11b1120664ce79cbdc7d311144fd41 (diff) | |
download | gstreamer-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.c | 2 |
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; |