diff --git a/subprojects/gst-plugins-good/gst/rtp/gstrtpchannels.c b/subprojects/gst-plugins-good/gst/rtp/gstrtpchannels.c index 9921293fd4..d0694cb821 100644 --- a/subprojects/gst-plugins-good/gst/rtp/gstrtpchannels.c +++ b/subprojects/gst-plugins-good/gst/rtp/gstrtpchannels.c @@ -250,7 +250,7 @@ gst_rtp_channels_get_by_order (gint channels, const gchar * order) } /* compare names */ - if (g_ascii_strcasecmp (channel_orders[i].name, order)) { + if (!g_ascii_strcasecmp (channel_orders[i].name, order)) { res = &channel_orders[i]; break; }