ximagesink: Remove g_assert from interface query

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

View file

@ -1951,8 +1951,10 @@ beach:
static gboolean
gst_ximagesink_interface_supported (GstImplementsInterface * iface, GType type)
{
g_assert (type == GST_TYPE_NAVIGATION || type == GST_TYPE_X_OVERLAY);
return TRUE;
if (type == GST_TYPE_NAVIGATION || type == GST_TYPE_X_OVERLAY)
return TRUE;
else
return FALSE;
}
static void