add JPEG as one of the default format

pull/152/head
mpromonet 5 years ago
parent 38b1764fe1
commit c2325eb81c

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

Loading…
Cancel
Save