vulkanviewconvert: clear the cached uniforms on caps change
Caps changes can change the output/input layout which needs to be reflected in the input uniforms to the shader.
This commit is contained in:
parent
199caccc41
commit
c3685bafa4
@ -1877,6 +1877,10 @@ gst_vulkan_view_convert_set_caps (GstBaseTransform * bt, GstCaps * in_caps,
|
|||||||
&vfilter->out_info))
|
&vfilter->out_info))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
if (conv->uniform)
|
||||||
|
gst_memory_unref (conv->uniform);
|
||||||
|
conv->uniform = NULL;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user