changed a few int to long

This commit is contained in:
lostjared
2018-03-20 20:02:30 -07:00
parent 80bc97a814
commit cbea75a9c7
3 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ void Playback::setVideo(cv::VideoCapture cap, cv::VideoWriter wr, bool record) {
writer = wr;
recording = record;
if(capture.isOpened()) {
frame_rate = (int) capture.get(CV_CAP_PROP_FPS);
frame_rate = capture.get(CV_CAP_PROP_FPS);
if(frame_rate <= 0) frame_rate = 24;
}
mutex.unlock();