mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
libs: utils: h265: Use get_profile_from_sps to get profile.
We now use gst_h265_get_profile_from_sps() to replace the old way of gst_h265_profile_tier_level_get_profile() to get more precise profile. The new function consider the unstandard cases and give a more suitable profile decision. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/395>
This commit is contained in:
parent
865a46b193
commit
d72f818029
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ gst_vaapi_utils_h265_get_profile (GstH265SPS * sps)
|
|||
|
||||
g_return_val_if_fail (sps != NULL, GST_VAAPI_PROFILE_UNKNOWN);
|
||||
|
||||
profile = gst_h265_profile_tier_level_get_profile (&sps->profile_tier_level);
|
||||
profile = gst_h265_get_profile_from_sps (sps);
|
||||
switch (profile) {
|
||||
case GST_H265_PROFILE_MAIN:
|
||||
/* Main Intra, recognize it as MAIN */
|
||||
|
|
Loading…
Reference in a new issue