Commit 50b20beb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

v4l2: detect and use the Sundtek driver

(cherry picked from commit 8bf55dd42dd50f4340d52ab4528c150ad1187f93)
parent f763868a
...@@ -48,7 +48,11 @@ static int fd_open (int fd, int flags) ...@@ -48,7 +48,11 @@ static int fd_open (int fd, int flags)
static void v4l2_lib_load (void) static void v4l2_lib_load (void)
{ {
void *h = dlopen ("libv4l2.so.0", RTLD_LAZY | RTLD_LOCAL); void *h;
h = dlopen ("libmediaclient.so", RTLD_LAZY | RTLD_LOCAL | RTLD_NOLOAD);
if (h == NULL)
h = dlopen ("libv4l2.so.0", RTLD_LAZY | RTLD_LOCAL);
if (h == NULL) if (h == NULL)
goto fallback; goto fallback;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment