mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
Prefer profile from codec-data if any was found there.
This commit is contained in:
parent
1f4e67503c
commit
4350de601b
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ gst_vaapi_profile_from_caps(GstCaps *caps)
|
|||
strcmp(profile_str, m->profile_str) == 0)
|
||||
profile = best_profile;
|
||||
}
|
||||
else if (codec_data)
|
||||
if (!profile)
|
||||
profile = gst_vaapi_profile_from_codec_data(
|
||||
GST_VAAPI_PROFILE_CODEC(m->profile),
|
||||
codec_data
|
||||
|
|
Loading…
Reference in a new issue