Naming some enumerations in videoio#6995
Conversation
|
@mshabunin, could you please review it |
| 2. rebuild OpenCV itself | ||
| */ | ||
| enum { CAP_ANY = 0, //!< Auto detect | ||
| enum VideoCaptureApiID { |
There was a problem hiding this comment.
I suggest removing ID suffix from all identifiers and use plural forms: VideoCaptureAPIs, VideoCaptureProperties, VideoCaptureModes, etc.
There was a problem hiding this comment.
and use plural forms
I believe it is useless and looks strange in general.
But it is already happened...
|
@PkLab , are you going to add references to these enumerations to corresponding functions documentation? |
|
|
Let's use plural forms for consistency.
Do you mean not flags? If so, I think it is not necessary, this information should be specified in the documentation block. |
|
@PkLab , looks good. Please, squash all commits into one. |
a01ba21 to
c33d152
Compare
|
Mistake while squashing... sorry . I'm trying to recover. |
c33d152 to
b303488
Compare
|
@PkLab , please check the following branch: master...mshabunin:pr6995 |
|
@mshabunin Looks good. Please could you merge your branch...is more clean than mine |
|
@PkLab Just update this PR source branch. Something like this |
b303488 to
3ea0201
Compare
|
@alalek done ! tank you for the tips. Just for information:
returns |
|
👍 |
resolves #6746
This pullrequest changes
This PR names base enums (API, Props and Mode Identifiers) in videoio modules mostly for documentation purposes. Enums related to specific API are left unnamed.
Enums docs are enclosed into submodules
videoio_flags_baseandvideoio_flags_others