xvimagesink: Remove the g_assert from interface query

This commit is contained in:
Sreerenj Balachandran 2011-05-25 14:08:43 +03:00 committed by Sebastian Dröge
parent 5cd0e0f666
commit 2f6d9e55cc

View file

@ -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