mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
encoding-profile: Also take into account preset name when comparing profiles
This commit is contained in:
parent
636cd255ce
commit
998f28b65c
1 changed files with 1 additions and 0 deletions
|
@ -954,6 +954,7 @@ _compare_encoding_profiles (const GstEncodingProfile * a,
|
||||||
if ((G_TYPE_FROM_INSTANCE (a) != G_TYPE_FROM_INSTANCE (b)) ||
|
if ((G_TYPE_FROM_INSTANCE (a) != G_TYPE_FROM_INSTANCE (b)) ||
|
||||||
!_gst_caps_is_equal_safe (a->format, b->format) ||
|
!_gst_caps_is_equal_safe (a->format, b->format) ||
|
||||||
(g_strcmp0 (a->preset, b->preset) != 0) ||
|
(g_strcmp0 (a->preset, b->preset) != 0) ||
|
||||||
|
(g_strcmp0 (a->preset_name, b->preset_name) != 0) ||
|
||||||
(g_strcmp0 (a->name, b->name) != 0) ||
|
(g_strcmp0 (a->name, b->name) != 0) ||
|
||||||
(g_strcmp0 (a->description, b->description) != 0))
|
(g_strcmp0 (a->description, b->description) != 0))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue