We have the notion of presence, and when the user want to be in control
it is totally legitimate for him to have several occurrences of a
similar profile
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/746>
g_return_val_if_fail (GST_IS_ENCODING_CONTAINER_PROFILE (container), FALSE);
g_return_val_if_fail (GST_IS_ENCODING_PROFILE (profile), FALSE);
- if (g_list_find_custom (container->encodingprofiles, profile,
- (GCompareFunc) _compare_encoding_profiles)) {
- GST_ERROR
- ("Encoding profile already contains an identical GstEncodingProfile");
- return FALSE;
- }
-
container->encodingprofiles =
g_list_append (container->encodingprofiles, profile);