From 998f28b65ca95e834c5f1cb6b238bc08bbadf402 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 21 Dec 2016 19:32:41 -0300 Subject: [PATCH] encoding-profile: Also take into account preset name when comparing profiles --- gst-libs/gst/pbutils/encoding-profile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/pbutils/encoding-profile.c b/gst-libs/gst/pbutils/encoding-profile.c index 2df7589136..6eeb0b6db8 100644 --- a/gst-libs/gst/pbutils/encoding-profile.c +++ b/gst-libs/gst/pbutils/encoding-profile.c @@ -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;