1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

videoio: fix FFmpeg VideoCapture rejecting CAP_PROP_FORMAT=CV_8UC3

This commit is contained in:
Andrew Yooeun Chun
2026-04-09 22:03:14 +09:00
parent 9eb887d02d
commit 570e32cc9b
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -1105,7 +1105,7 @@ bool CvCapture_FFMPEG::open(const char* _filename, int index, const Ptr<IStreamR
{
enableAlpha = false;
}
if (value == CV_8UC4)
else if (value == CV_8UC4)
{
enableAlpha = true;
}