h266parse: Fix typo when finding compatible profiles

This solves some critical errors about not fixed caps with some H266 streams.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9427>
This commit is contained in:
Julian Bouzas 2025-07-22 11:02:00 -04:00 committed by GStreamer Marge Bot
parent 064d2dedd6
commit 7411337812

View File

@ -2100,7 +2100,7 @@ gst_h266_parse_ensure_compatible_profiles (GstH266Parse * h266parse,
g_value_unset (&value);
}
gst_caps_set_value (caps, "profile", &compat_profiles);
gst_caps_set_value (compat_caps, "profile", &compat_profiles);
g_value_unset (&compat_profiles);
g_array_unref (profiles);
}