bool cv::gpu::detail::CuvidVideoSource::isStarted() const { return (cuvidGetVideoSourceState(videoSource_) == cudaVideoState_Started); }
bool cv::gpu::detail::CuvidVideoSource::hasError() const { return (cuvidGetVideoSourceState(videoSource_) == cudaVideoState_Error); }
bool VideoSource::isStarted() { return (cuvidGetVideoSourceState(hVideoSource_) == cudaVideoState_Started); }