mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-11 06:11:27 +00:00
ximagesink: Remove g_assert from interface query
This commit is contained in:
parent
2f6d9e55cc
commit
b977d550df
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue