[464/906] glimagesink: Interface query should return FALSE if the supplied interface is not GST_TYPE_X_OVERLAY
This commit is contained in:
parent
0cefeead18
commit
b1166ed0c4
@ -688,6 +688,8 @@ static gboolean
|
|||||||
gst_glimage_sink_interface_supported (GstImplementsInterface * iface,
|
gst_glimage_sink_interface_supported (GstImplementsInterface * iface,
|
||||||
GType type)
|
GType type)
|
||||||
{
|
{
|
||||||
|
if (type != GST_TYPE_X_OVERLAY)
|
||||||
|
return FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user