Merge branch 'master' into 0.11
[platform/upstream/gstreamer.git] / sys / ximage / ximagesink.c
index 1ef50ee..46903fb 100644 (file)
@@ -1500,8 +1500,10 @@ config_failed:
 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