mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
xvimagesink: Remove the g_assert from interface query
This commit is contained in:
parent
5cd0e0f666
commit
2f6d9e55cc
1 changed files with 5 additions and 3 deletions
|
@ -2722,9 +2722,11 @@ no_caps:
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_xvimagesink_interface_supported (GstImplementsInterface * iface, GType type)
|
gst_xvimagesink_interface_supported (GstImplementsInterface * iface, GType type)
|
||||||
{
|
{
|
||||||
g_assert (type == GST_TYPE_NAVIGATION || type == GST_TYPE_X_OVERLAY ||
|
if (type == GST_TYPE_NAVIGATION || type == GST_TYPE_X_OVERLAY ||
|
||||||
type == GST_TYPE_COLOR_BALANCE || type == GST_TYPE_PROPERTY_PROBE);
|
type == GST_TYPE_COLOR_BALANCE || type == GST_TYPE_PROPERTY_PROBE)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
else
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue