diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-03 08:34:01 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-03 08:34:01 +0000 |
commit | 8ac680eb35b2cbfbea5e7e084d33c7e46994d4f2 (patch) | |
tree | c9ce2ab4e7d003906aeaeef9e04a3efc93232752 | |
parent | 5f891f982494a438d27aca31d9261136bf43ea21 (diff) |
main: disable libv4l for USERPTRuserptr
The libv4l emulation doesn't support USERPTR. So, disable it,
when this mode is used.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -144,6 +144,7 @@ static void activate(GtkApplication *app) } else if (use_userptr) { printf("Forcing userptr mode\n"); cam->userptr = TRUE; + cam->use_libv4l = FALSE; } cam->xml = gtk_builder_new(); |