add JPEG as one of the default format

This commit is contained in:
mpromonet 2019-08-27 12:52:19 +01:00
parent 38b1764fe1
commit c2325eb81c

View File

@ -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