Fixed compatibility with GStreamer 1.x
Added test on CAP_PROP_FRAMECOUNT option for cv::VideoCapture