summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2011-05-25 14:08:43 +0300
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-05-26 09:05:55 +0200
commit2f6d9e55cc062d2bca7c965f9a187d07296beb12 (patch)
tree7a49117628ed2bcae07dbd5f039afc07d0add983
parent5cd0e0f666699e9c49ee4f9646118b596cd351ed (diff)
xvimagesink: Remove the g_assert from interface query
-rw-r--r--sys/xvimage/xvimagesink.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index 29bb96a32..b645b3539 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