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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user