VideoCapture::get should be const (Feature #3652)
Description
Commands like
cv::VideoCapture cv_video("inputfile.avi"); cv_video.get(CV_CAP_PROP_FRAME_COUNT)
keep cv_video constant and should therefore be declared as const.
Or are there any reasons for omitting constness? I have problems with my library builded on some CV structures and have to use an ugly const_cast<VideoCapture&> because of this.
Associated revisions
Merge pull request #3652 from alalek:ocl_message
History
Updated by Evgeny Talanin almost 11 years ago
- Assignee set to Vadim Pisarevsky
- Priority changed from Normal to Low
Updated by Andrew Senin almost 11 years ago
Hi Frank. Please consider creating a fixing pull request for this issue (http://code.opencv.org/projects/opencv/wiki/How_to_contribute). Thanks!
- Status changed from New to Open
- Assignee changed from Vadim Pisarevsky to Frank Stähr
Updated by Frank Stähr almost 11 years ago
- Assignee deleted (
Frank Stähr)
Updated by Artur Wieczorek over 10 years ago
Duplicated, see #2625
- Status changed from Open to Cancelled