From: Thibault Saunier Date: Wed, 21 Dec 2016 22:32:41 +0000 (-0300) Subject: encoding-profile: Also take into account preset name when comparing profiles X-Git-Tag: 1.19.3~511^2~2453 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=998f28b65ca95e834c5f1cb6b238bc08bbadf402;p=platform%2Fupstream%2Fgstreamer.git encoding-profile: Also take into account preset name when comparing profiles --- diff --git a/gst-libs/gst/pbutils/encoding-profile.c b/gst-libs/gst/pbutils/encoding-profile.c index 2df7589..6eeb0b6 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;