mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
vkvideoutils: fix bug for chroma string comparison
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4716>
This commit is contained in:
parent
d6f1c517f3
commit
e9414b9582
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ gst_vulkan_video_profile_from_caps (GstVulkanVideoProfile * profile,
|
|||
return FALSE;
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (video_chroma_map); i++) {
|
||||
if (g_strcmp0 (chroma_sub, video_chroma_map[i].chroma_str)) {
|
||||
if (g_strcmp0 (chroma_sub, video_chroma_map[i].chroma_str) == 0) {
|
||||
profile->profile.chromaSubsampling = video_chroma_map[i].chroma;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue