From c2325eb81c174e44902198187d772db73486d76a Mon Sep 17 00:00:00 2001 From: mpromonet Date: Tue, 27 Aug 2019 12:52:19 +0100 Subject: [PATCH] add JPEG as one of the default format --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index f502fd3..3909029 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -547,6 +547,7 @@ int main(int argc, char** argv) if ((videoformatList.empty()) && (format!=0)) { videoformatList.push_back(V4L2_PIX_FMT_H264); videoformatList.push_back(V4L2_PIX_FMT_MJPEG); + videoformatList.push_back(V4L2_PIX_FMT_JPEG); } #ifdef HAVE_ALSA