Skip to content

define CV_FOURCC as its replacement in newer versions of OpenCV - #40

Merged
jwlodek merged 1 commit into
areaDetector:masterfrom
daykin:fourcc-macro
May 22, 2025
Merged

define CV_FOURCC as its replacement in newer versions of OpenCV#40
jwlodek merged 1 commit into
areaDetector:masterfrom
daykin:fourcc-macro

Conversation

@daykin

@daykin daykin commented May 21, 2025

Copy link
Copy Markdown
Contributor

CV_FOURCC macro was replaced with cv::VideoWriter::fourcc(first,second,third,fourth) from version 3.4. As far as I can tell from our use of this plugin, this is all that's necessary for use with the Debian packaged version, currently 4.6.0 on Bookworm.

@jwlodek

jwlodek commented May 22, 2025

Copy link
Copy Markdown
Member

Could we wrap this in the ifdef that checks if we are building with video recording support? Otherwise compilation without video support will cause an error. Otherwise this looks good to me!

…t does not exist. Allows compatibility with OpenCV > 3.4.
@jwlodek
jwlodek merged commit 1d380a7 into areaDetector:master May 22, 2025
@daykin
daykin deleted the fourcc-macro branch May 22, 2025 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants