Update main.cpp

This commit is contained in:
Michel Promonet 2023-12-30 21:25:40 +01:00 committed by GitHub
parent b12cf350dc
commit 3320b9173a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,6 +250,7 @@ int main(int argc, char** argv)
// default format tries
if ((videoformatList.empty()) && (format!=0)) {
videoformatList.push_back(V4L2_PIX_FMT_H265);
videoformatList.push_back(V4L2_PIX_FMT_H264);
videoformatList.push_back(V4L2_PIX_FMT_MJPEG);
videoformatList.push_back(V4L2_PIX_FMT_JPEG);