From: Sreerenj Balachandran Date: Wed, 25 May 2011 11:08:43 +0000 (+0300) Subject: xvimagesink: Remove the g_assert from interface query X-Git-Tag: 1.19.3~511^2~6555^2~848 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f6d9e55cc062d2bca7c965f9a187d07296beb12;p=platform%2Fupstream%2Fgstreamer.git xvimagesink: Remove the g_assert from interface query --- diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index 29bb96a..b645b35 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -2722,9 +2722,11 @@ no_caps: static gboolean gst_xvimagesink_interface_supported (GstImplementsInterface * iface, GType type) { - g_assert (type == GST_TYPE_NAVIGATION || type == GST_TYPE_X_OVERLAY || - type == GST_TYPE_COLOR_BALANCE || type == GST_TYPE_PROPERTY_PROBE); - return TRUE; + if (type == GST_TYPE_NAVIGATION || type == GST_TYPE_X_OVERLAY || + type == GST_TYPE_COLOR_BALANCE || type == GST_TYPE_PROPERTY_PROBE) + return TRUE; + else + return FALSE; } static void