Why can not I convey
Point src[1][4] = { { Point(border,border), Point(border,h-border), Point(w-border,h-border), Point(w-border,h-border) } };
a
polylines(frame, src, ns, 1, true, CV_RGB(255,255,255), 2);
Where
polylines have a prototype
void polylines(Mat& img, const Point** pts, const int* npts, int ncontours, bool isClosed, const Scalar& color, int thickness=1, int lineType=8, int shift=0 )
UPDATE
Ok, ok, I remembered this stuff :)