diff --git a/VideoNodes/VideoNodes/VideoNode.cs b/VideoNodes/VideoNodes/VideoNode.cs index e2dd5986..8297657f 100644 --- a/VideoNodes/VideoNodes/VideoNode.cs +++ b/VideoNodes/VideoNodes/VideoNode.cs @@ -103,7 +103,7 @@ namespace FileFlows.VideoNodes if (args.Variables.ContainsKey("vi.OriginalDuration") == false) // we only want to store this for the absolute original duration in the flow args.Variables["vi.OriginalDuration"] = videoInfo.VideoStreams[0].Duration; - variables["vi.VideoInfo"] = videoInfo; + args.Variables["vi.VideoInfo"] = videoInfo; var videoVariables = new Dictionary(); videoVariables["vi.Width"] = videoInfo.VideoStreams[0].Width; videoVariables["vi.Height"] = videoInfo.VideoStreams[0].Height;