Skip to content

Fix issue #6450 - #15464

Merged
opencv-pushbot merged 2 commits into
opencv:3.4from
tallestorange:3.4
Feb 3, 2020
Merged

opencv-pushbot merged 2 commits into
opencv:3.4from
tallestorange:3.4

Conversation

@tallestorange

@tallestorange tallestorange commented Sep 5, 2019 •

Copy link
Copy Markdown
Contributor

resolves #6450

Fix issue #6450

I changed a logic of cv::VideoCapture().
Because cv::VideoCapture::get returns wrong value and cv::VideoCapture cannot set value.
Transplanting cv::VideoCapture()'s logic of macOS, this problem can be fixed.

allow_multiple_commits=1

@asmorkalov

Copy link
Copy Markdown
Contributor

@tallestorange Thanks for you contribution. The patch introduces several build warnings on iOS configuration, could you look at it:

/Volumes/build-storage/build/precommit_ios/3.4/opencv/modules/videoio/src/cap_avfoundation.mm:1055:68: warning: values of type 'OSType' should not be used as format arguments; add an explicit cast to 'unsigned int' instead [-Wformat]
1 warning generated.
/Volumes/build-storage/build/precommit_ios/3.4/opencv/modules/videoio/src/cap_avfoundation.mm:1055:68: warning: values of type 'OSType' should not be used as format arguments; add an explicit cast to 'unsigned int' instead [-Wformat]
1 warning generated.
/Volumes/build-storage/build/precommit_ios/3.4/opencv/modules/videoio/src/cap_avfoundation.mm:1055:68: warning: values of type 'OSType' should not be used as format arguments; add an explicit cast to 'unsigned int' instead [-Wformat]
1 warning generated.

CI link: https://pullrequest.opencv.org/buildbot/builders/precommit_ios/builds/20885/steps/build%20framework/

@VadimLevin

Copy link
Copy Markdown
Contributor

Hello, @tallestorange. Just gently reminder. Do you have any chance to complete this PR and fix introduced warnings?

@asmorkalov asmorkalov added pr: Discussion Required Hackathon https://opencv.org/opencv-hackathon-starts-next-week/ labels Jan 30, 2020
@asmorkalov
asmorkalov requested a review from vpisarev January 31, 2020 11:35

@vpisarev vpisarev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning is fixed; can merge it, I think 👍

opencv-pushbot pushed a commit that referenced this pull request Feb 3, 2020
@opencv-pushbot
opencv-pushbot merged commit 1740225 into opencv:3.4 Feb 3, 2020
@alalek alalek mentioned this pull request Feb 4, 2020
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Hackathon https://opencv.org/opencv-hackathon-starts-next-week/ platform: ios/osx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants