void cv::gpu::detail::CuvidVideoSource::stop() { cuSafeCall( cuvidSetVideoSourceState(videoSource_, cudaVideoState_Stopped) ); }
void VideoSource::stop() { CUresult oResult = cuvidSetVideoSourceState(hVideoSource_, cudaVideoState_Stopped); assert(CUDA_SUCCESS == oResult); }