when i start the ccamera it goes well. the problem comes when i release the video capture and try to open it after. it shows me 3 errors: - [mpjpeg @ 000000000041c280] Expected boundary '--' not found, instead found a line of 86 bytes - [mjpeg @ 00000000004274a0] error dc - [mjpeg @ 00000000004274a0] error y=21 x=34 - libpng warning: Image width is zero in IHDR - libpng warning: Image height is zero in IHDR - libpng error: Invalid IHDR data - error: (-215) code in function cv::imencode
i don't understand why when i close the whole program and relaunched it the reading works but it crash with the same error when try to release and reopen the videocapture