mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +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)) ||
|
||||
!_gst_caps_is_equal_safe (a->format, b->format) ||
|
||||
(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->description, b->description) != 0))
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue