Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
VideoIO classes refactoring#16246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
VideoIO classes refactoring#16246
Uh oh!
There was an error while loading.Please reload this page.
Conversation
VadimLevin commentedDec 27, 2019
This change breaks ABI compatibility.@alalek what do you think about it? |
| @sa The list of supported API backends cv::VideoCaptureAPIs | ||
| */ | ||
| CV_WRAPVideoCapture(const String& filename,int apiPreference = CAP_ANY); | ||
| CV_WRAPexplicitVideoCapture(const String& filename,int apiPreference = CAP_ANY); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
this is useful change
| @sa The list of supported API backends cv::VideoCaptureAPIs | ||
| */ | ||
| CV_WRAPVideoCapture(int index,int apiPreference = CAP_ANY); | ||
| CV_WRAPexplicitVideoCapture(int index,int apiPreference = CAP_ANY); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
useful
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
vpisarev commentedJan 10, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@VadimLevin, if I remember correctly, the goal was to add some profiles to video writer to enhance functionality. Here I just see many changes and absolutely no steps towards the goal that we stated. I have no principal objections against the changes in .cpp, as long as it passes all the tests. But, except for adding "explicit" to the constructors, please, undo all the changes in header files, because the lost compatibility is too high price for a questionably better style. |
VadimLevin commentedJan 13, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@vpisarev Yes, I separated work into several independent steps and this was one of them. |
5c5ce9d toe2f3446Compare- Added `explicit` to `VideoCapture` constructors with 2 arguments, 1 of them has default value - Applied library code style - Introduced 2 debug macros to improve readability of the code
e2f3446 to3fe9dfaCompareasmorkalov commentedJan 23, 2020
@vpisarev@alalek Please take a look again. |
asmorkalov commentedJan 29, 2020
@vpisarev friendly reminder. |
Uh oh!
There was an error while loading.Please reload this page.
Changes:
explicittoVideoCaptureconstructors with 2arguments, 1 of them has default value