private bool HasTextureConflict(Frame frame)
    {
        var vidFrame = frame as VideoFrame;

        if (_videoStreamFilter.Width == vidFrame.Width && _videoStreamFilter.Height == vidFrame.Height && _videoStreamFilter.Format == vidFrame.Profile.Format)
        {
            return(false);
        }
        _videoStreamFilter.CopyProfile(vidFrame);
        data = null;
        return(true);
    }