JPery / MJPEGWriter

Lightweight HTTP server to stream your OpenCV processing in C++
MIT License
97 stars 40 forks source link

Suggested update to `IMWRITE_JPEG_QUALITY` #13

Closed evgenyslab closed 4 years ago

evgenyslab commented 4 years ago

https://github.com/JPery/MJPEGWriter/blob/55c0af8765b5575413d5f4aeee095211eea14edb/MJPEGWriter.cpp#L78

I believe def's got updated with cv4+ and do not use the CV_ prefix anymore.

great code by the way :)

JPery commented 4 years ago

I think it'll be better to preserve 'CV_IMWRITE_JPEG_QUALITY' in order to allow compatibility with older OpenCV versions.

Thank you for your comment!