Fix the codec registration logic such that all supported
profiles are available instead of just the first in the
list.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5313>
g_value_reset (&v);
encoded_ret = gst_caps_merge_structure (encoded_ret, tmp3);
-
have_profile_level = TRUE;
}
- }
-
- if (have_profile_level) {
gst_structure_free (tmp2);
} else {
encoded_ret = gst_caps_merge_structure (encoded_ret, tmp2);
+ have_profile_level = TRUE;
}
-
- have_profile_level = TRUE;
}
}