We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95c4493 + beeda93 commit 582c994Copy full SHA for 582c994
Assets/USharpVideo/Scripts/Utility/RenderTextureOutput.cs
@@ -38,7 +38,7 @@ private void LateUpdate()
38
{
39
Texture videoPlayerTex = videoPlayerManager.GetVideoTexture();
40
41
- if (lastTex != videoPlayerManager)
+ if (lastTex != videoPlayerTex)
42
43
outputMat.SetTexture("_SourceTexture", videoPlayerTex);
44
outputMat.SetInt("_IsAVPro", System.Convert.ToInt32(sourceVideoPlayer.IsUsingAVProPlayer()));
0 commit comments