Unosquare.FFmpegMediaElement.FFmpegMediaFrameCache.GetFrameAt C# (CSharp) Method

GetFrameAt() public method

Gets the frame at the given index.
public GetFrameAt ( int index ) : FFmpegMediaFrame
index int The index.
return FFmpegMediaFrame
        public FFmpegMediaFrame GetFrameAt(int index)
        {
            lock (SyncLock)
            {
                if (index < Frames.Count && index >= 0)
                    return Frames[index];
                else
                    return null;
            }

        }